Pattern-matching options. : Pattern matching « Regular Expression « Perl
- Perl
- Regular Expression
- Pattern matching
Pattern-matching options.
Option Description
g Match all possible patterns
i Ignore case
m Treat string as multiple lines
o Only evaluate once
s Treat string as single line
x Ignore white space in pattern
Related examples in the same category