Wildcard Matching
selang supports the following wildcard characters:
capamsc141
selang supports the following wildcard characters:
- * (asterisk)Any sequence of zero or more characters.
- ? (question mark)Any single character (except a path separator for files).
To make a single character a do not care character that matches any other single character, use a question mark (?), as in the following examples:
Specify this... | To do this... |
mmc? | mmc3, mmcx, mmc5 |
mmc?.t | mmc1.t, mmc2.t |
mmc04.? | mmc04.a, mmc04.1 |
To match any string of zero or more characters, use an asterisk (*), as in the following examples:
Specify this... | To do this... |
*i*.c | main.c, list.c |
st*.h | stdio.h, stdlib.h, string.h |
* | All records of the specified class |