|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re: Is there a Limit on Matching .*by LazerRed (Pilgrim) |
| on Jul 15, 2003 at 00:11 UTC ( #274235=note: print w/ replies, xml ) | Need Help?? |
|
Exactly what I was thinking sauoq Is looking for everything on one line, so it will not match unless everything <title></title><h1></h1> is on the same line. Where: $chunk =~ m%<title>(.+)</title>%i;And:$chunk =~ m%<h1>(.+)</h1>%i; is matching each thing on their own lines.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||