Alongside simple characters, it is also possible to specify placeholders for groups of character (so-called wildcards). There are two wildcards.
asterisk | (Default value |
slash | (Default value / ) stands for precisely one character. |
If the keyword PATTERN
is specified then the wildcards are interpreted and pattern matching takes place. The wildcards are resolved into the shortest possible substring in the search range.
If the keyword PATTERN
is not specified then the wildcards are handled as simple constant characters.
Example
@ON & PRINT ’AB*C’ | Displays all the lines which contain precisely the string
|
@ON & PRINT PATTERN ’AB*C’ | Displays all the lines which contain the strings |
Multiple wildcards may be present in every search term. A search term which consists only of wildcards is also permitted. The @SYMBOLS statement can be used to redefine the wildcards.
No wildcards can be specified within the substitute representation of Unicode characters.