in reply to Re: Re: save regex in a file?
in thread save regex in a file?
The first turns on case-insensitivity for the entire pattern. The seconds turn on single-line matching and turns off multi-line matching for the part of the pattern within the parentheses.(?i)abc (?s-m:^start.*end)
perlre explains this syntax in more detail.
|
|---|