Perl programming on MPE/iX - February 2001
February 9, 2001
Solution Symposium
Page 18
hp e3000
perl
programming
regular expressions
• a vast superset beyond standard Unix regexps
• a ? modifier to make patterns non-greedy
• zero-width lookahead and lookbehind assertions
• conditional expressions
• extra character class matches:
• \w - match a "word" character (alphanumeric, "_")
• \W - match a non-word character
• \s - match a whitespace character
• \S - match a non-whitespace character
• \d - match a digit
• \D - match a non-digit
• http://www.perl.com/pub/doc/manual/html/pod/perl
re.html