in reply to Regex: Lookahead
Whatever multiline matching you are trying to do the you should use the /m flag.$_ =~ http://www.google.com <a href="http://www.google.com">fail a match here</a> ~; s#^(http://\S+)#<a href="$1">$1</a>#gmsi; print;
print+qq(\L@{[ref\&@]}@{['@'x7^'!#2/"!4']});
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Regex: Lookahead
by Rodster001 (Pilgrim) on May 12, 2009 at 15:35 UTC | |
by ikegami (Patriarch) on May 12, 2009 at 16:34 UTC |