
A Summary of Commands logCat
UCS 1000 R4.2 Administration 585-313-507 Issue 3 April 2000 505
The second search language uses the standard "regular" expression syntax.
It is in effect when the -R flag is specified. It supports:
• ^ — Beginning of message
• $ — End of message
• . — A single unspecified character
• [xxx] — Any character is the list "xxx". "xxx" may include ranges of
characters: A-Z, etc.
• [^xxx] — Any character not in the list "xxx"
• <chr>* — Any number of occurrences of <chr> including 0
• <chr>+ — Any number of occurrences of <chr> with a minimum of 1
• <chr>{m,n} — From 'm' to 'n' occurrences of <chr>
• \<chr> — Normal C backslash conventions, \n \t \b \f \r \NNN \\ \[
• (pat) — Parentheses serve to group portions of a pattern. {pat} can be
any legal pattern of its own. The '*', '+', and '{m,n}' operators can be
applied to the entire grouping within the ()s, (in other words, ([bB]ob)+
means one or more occurrences of "bob" or "Bob").