|Non-Confidential||PDF version||ARM DUI0452Z|
|Home > DS-5 Debugger commands > Conformance and usage rules for DS-5 Debugger commands > Usage of wildcards|
You can use wildcards to enhance your pattern matching in DS-5 Debugger expressions.
The following types of wildcard pattern matching can be used:
Globs. This is the default.
You can use the DS-5 Debugger command set wildcard-style to change the default setting.
Globs are a mechanism for examining the contents of strings, and can be used to search variables for strings matching specific patterns.
Commands that support wildcards can use globs with the following syntax:
Specifies zero or more characters
Specifies only one character
Specifies an escape character to match on strings containing either
Specifies a range of characters. You can use
match characters that are not listed in the range.
This is an example of Globs where a wildcard is expected:
info functions m* # List all functions starting with m
Commands that support wildcards can use regular expressions.
The exact regular expression syntax supported is described in a book called Mastering Regular Expressions.
This is an example of regular expressions where a wildcard is expected:
info functions m.* # List all functions starting with m