Annex¶
Fnmatch Expressions¶
A wildcard-capable string used to match one or more names from a set.
This is used in Partition QoS and in DDS Security documents.
Recognized values will conform to POSIX fnmatch() function as specified in POSIX 1003.2-1992, Section B.6.
This is a subset of UNIX shell file matching and is similar to, but separate from standard regular expressions.
Simplified, this consists of the following:
?Will match any single character. For example
ab?matchesabcandabb.*Will match any zero or more characters. For example
*will match anything anda*matchesa,abc, andaaaaa.[]Will match a single character specified in the brackets. For example
a[bc]matchesabandac. Can also use ranges, for examplea[b-d]matchesab,ac, andad.\Will escape the following character. For example
\?just matches?and\\matches\.