Filtering
Use regular expressions to filter the information displayed in views.
You can filter the output of tables, such as the method profile and classes tables, by entering expressions in the text box before the corresponding table. The filter text box accepts well-formed regular expressions. When you enter part of the name, only lines with matching content appear in the table. You can enter ^ to match the beginning of some text, such as a class name. Similarly, using $ forces a match at the end of the text.
For example, to see only packages beginning with "java", enter ^java in the text box.
To see only method names containing ".init", enter \.init in the text box. The " \ " is important to escape the " . " which otherwise matches any character.
Filter examples
The following table shows some sample filter expressions:
Filter expression | Required results |
---|---|
lang | Any line containing lang |
^com.ibm | Any line beginning with com.ibm |
\.get | Any line containing .get |