SirTune statement wildcards

From m204wiki
Revision as of 17:26, 2 July 2015 by JAL (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

There are several SirTune statements that allow the use of wildcard strings to specify a set of matching strings with a single string. These statements and the associated component of SirTune are:

AUTHORIZESIRTUNE
RESOLUTIONSIRTUNER or SIRTUNEREPORT
SIRTUNEDA CMS command

The special characters and their meanings in wildcard strings are:

* Matches any group of characters including a null string.
? Matches any single character.
" Indicates that the next character in the wildcard string is to be treated literally, even if it is a double-quotation mark ("), asterisk (*), or question mark (?).

For example, to match any string, use:

*

To match ABCDEFG and no other strings, use:

ABCDEFG

To match ABC, ABCXXX, ABC22, ABCDEFG, etc. and not match ABXCD, CAB, etc., use:

ABC*

To match XYZ, AXYZ, XYZA, AXYZB, etc. and not match XAYBZ, XYAZ, etc., use:

*XYZ*

To match ABC1, ABCD, ABCZ etc. and not match ABC, ABCDE, ABXC, etc., use:

ABC?

To match any string with exactly four characters and not match anything else, use:

????

To match the string ABC* and nothing else, use:

ABC"*

To match the string ABC? and nothing else, use:

ABC"?

To matches the string ABC" and nothing else, use:

ABC""

To match ABC, ABD, A1BC, A123B?, etc. and not match ABCD, XABC, AXXXXX, etc., use:

A*B?

See also