Programming and posix - April 2002
April 3, 2002
Solution Symposium
Page 82
hp e3000
programming
and posix
regular expressions (regexp)
• the language of pattern matching
• man regexp for full syntax
• . - match any one character
• ^ - match the beginning of a line
• $ - match the end of a line
• [a-z] - range match for lowercase
• * - match zero or more
• + - match one or more
• ? - match one or zero
• \( and \) - grouping