Perl Regular Expressions
Jump to navigation
Jump to search
External
- http://www.cs.tut.fi/~jkorpela/perl/regexp.html
- http://www.cs.tut.fi/~jkorpela/perl/course.html#greedy
Internal
Overview
Perl's flavor of regular expressions is relatively similar to grep's, but it has a richer set of metacharacters.
Greedy/Reluctant
By default, the regular expressions are greedy.
To make then reluctant, use "*?".