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.$chunk =~ m%<title>(.+)</title>.*<h1>(.+)</h1>%i;
In reply to Re: Is there a Limit on Matching .*
by LazerRed
in thread Is there a Limit on Matching .*
by svsingh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |