Next: Special pattern matching character
Up: Some useful Perl
Previous: Some useful Perl
A regular expression is a template or pattern to be matched against a string.
In Perl a regular expression is enclose inside two slashes: /regular_expression/
The regular expression may contain:
- Ordinary text to be matched to an exact pattern (or sub pattern)
- Special operator characters -- characters that have a special meaning and control how we
match patterns
Dave Marshall
9/28/2001