Just another Perl shrine | |
PerlMonks |
Re: character recognitionby hipowls (Curate) |
on Mar 06, 2008 at 12:28 UTC ( [id://672441]=note: print w/replies, xml ) | Need Help?? |
Your regular expression is probably not doing what you think it is. It matches a line that has a literal 'scor', zero or 'e's then a literal '"cool"'. You probably mean to use '.*' to match zero or more characters (except newline). but without seeing the input you expect to match I can't be sure.
In Section
Seekers of Perl Wisdom
|
|