Supported wildcard pattern matching characters

WebSEAL supports wildcard pattern matching characters.

Table 1. Supported wildcard matching characters
Character Description
\

The character that follows the backslash is part of a special sequence. For example, \t is the TAB character. Can be used to escape the other pattern matching characters: ( ? * [ ] ^ ). To match the backslash character, use \\.

?

Wildcard that matches a single character. For example, the string abcde is matched by the expression ab?de

*

Wildcard that matches zero or more characters.

[]

Defines a set of characters, from which any can match. For example, the string abcde is matched with the regular expression ab[cty]de.

^

Indicates a negation. For example, the expression [^ab] matches anything but the a or b characters.

For more examples of pattern matching by using wildcards, see the following topics.