Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Regular Expression problem with $variable =~ m/C++/by varian (Chaplain) |
on Jun 11, 2007 at 14:48 UTC ( [id://620505]=note: print w/replies, xml ) | Need Help?? |
If your merely want to search for string literals inside a line then the index function is fast, does not interprete metacharacters and will do just fine:
In Section
Seekers of Perl Wisdom
|
|