| Next | Regular Expression Mastery | 2 |
Regexes (not Regexps)
Also called patterns
Very useful in Perl
m/REGEX/
s/REGEX/STRING/ (left part only!)
split /REGEX/, STRING
grep /REGEX/, LIST
Powerful, dangerous, risky
Almost everyone has been unpleasantly surprised at one time or another
| Next | ![]() |
Copyright © 2002 M. J. Dominus |