in reply to Lookahead assertion confusion
/(<p> ) # #1 (.+(?!<p>)) # #2 (features\: <ul>)/ix) # #3
so if you look at it once more you realize that nowhere is rule #2 broken as it is not followed by a <p> what you are looking for is more along these lines:my ($first, $second, $third) = ($test =~ /(<p> ).+?<p>(.+)(features: <ul>)/i);
update:being human, I assosciate significance to big round numbers in a, more often times than not, strange superstitious manner. and thus i mark post 100
-enlil
|
---|