in reply to PERL regex modifiers for m//

I'm pretty sure that "Mastering Regular Expressions" by Jeffrey Friedl has extensive examples, and perlretut also has some; just search for "modifier" in the documnent.