4.1 Common Name Pattern Format

Many commands contain arguments that use name patterns. For example, the restrictCustTo argument use name patterns. The rules for the name patterns are the same for these arguments.

The pattern can contain the following special characters:

  • The percent (%) character, which matches any number of characters.

  • The underscore (_) character, which matches exactly one arbitrary character.

  • The backslash character ('\'), which can be used to escape the percent, the underscore, and the backslash (itself) characters, so they match only %, _, or \.

For example:

restrictCustTo="user[scott]"
restrictCustTo="site[site1],user[scott]"
restrictCustTo="site[site1, %_2],user[scott, m%]"