There's more than one way to do things | |
PerlMonks |
Re: regex for a phrase beginning with some charsby tirwhan (Abbot) |
on Feb 18, 2009 at 20:37 UTC ( [id://744877]=note: print w/replies, xml ) | Need Help?? |
perldoc perlre, the metacharacter "^" is your friend (or if you're PBP-inclined use "\A"). Then progress backwards to the "i" modifier and you're done. All dogma is stupid.
In Section
Seekers of Perl Wisdom
|
|