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.
In reply to Re: Re: Re: save regex in a file?
by chipmunk
in thread save regex in a file?
by smackdab
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |