in reply to Re^2: Regular expression
in thread Regular expression
... what (?i) is used for ...
This regex operator turns on case insensitivity until the end of the current matching scope. See (?adlupimsx-imsx) and (?^alupimsx) in Extended Patterns. It has the same effect (but with scope control) as the /i global pattern modifier; see Modifiers. (Both in perlre.) Aside from its scope flexibility, I prefer to use (?i) rather than the /i modifier because of its greater general readability.
Give a man a fish: <%-{-{-{-<
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Regular expression
by pravakta (Novice) on Oct 31, 2017 at 20:47 UTC |