Wildcard Search Characters

The Privilege Management for Unix and Linux Security Policy Scripting Language supports the standard set of shell-style, wildcard search characters. These are used for searches by the in operator and for forbidden and warning keystroke patterns.

Character Example Description
*   Matches any number of characters. Case is not considered.
  j* Match j followed by any number of characters.
  j*e Match a string starting with j and ending with e, with any number of characters between j and e.
?   Matches any single character. Case is not considered.
  j? Match j followed by any single character.
  j?e Match a string starting with j and ending with e, with any single character between j and e.
[ ]   Match characters. Case is considered.
  [jJ]* Match upper or lowercase j followed by any number of characters.
  [a-z] Match any lowercase characters a through z.
    Not character.
  [^a-z] Match any character except lowercase characters a through z.