Basics of Pattern Matching & Substitutions with Perl ...

Modifiers are appended to the end of a regular expression and apply special rules to your entire expression. Modifiers: i . Do case-insensitive pattern matching. g global (in substitutions, repeat substitution multiple times – see below) m Treat string as multiple lines. s Treat string as single line; i.e., treat newlines as “dots” ................
................