9.5.2. Applying a filter

Using a filter enables you to narrow down the search when displaying the list of modules and files. Table 9.1 shows the metacharacters you can use to specify the filter rule or rules. When entering a filter, characters are case sensitive, for example the filter *DHRY* returns a list of five modules but *dhry* returns an empty list.

When you have completed the filter, press Enter and the list is refreshed. By repeatedly entering filters, and pressing Enter, you can refine the search to focus on selected modules or files.

Table 9.1. Browser filter metacharacters

Metacharacter

Description

*

This operator matches any character or number of characters, for example *DHRY* matches MY_DHRYSTONE_H but not Dhrystone_H or MY_DHR.

?

This operator matches any single character, for example *DHRY_?. matches MY_DHRY_A but not MY_DHRY_AB or DHRY_B.

[…]

List operators enable you to define a set of items to use as a filter. The list items must be enclosed by square brackets, for example *[HN]* matches DHRY_H and UNNAMED_1 but not STDLIB. An empty list ([]) returns no results.

^

This operator is used inside a list, to represent a NOT action, for example *_[^2]* matches DHRY_1 but not DHRY_2.

-

Range operators enable you to define a range of items to use as a match. The range must be enclosed within square brackets, for example *_[A-Z]* matches DHRY_H but not DHRY_1 whereas *_[^A-Z]* matches UNNAMED_1 but not DHRY_H.

-

Used as the first character in a filter, this operator means do not match. For example, *SAM* -*HOST* means match all names containing the string SAM except those that contain the string HOST.

Copyright © 2003, 2004 ARM Limited. All rights reserved.ARM DUI 0234B
Non-Confidential