in reply to Lookahead assertion confusion

Well, since there isn't anything between the second paren group and the third in the regex, the regex will only match if "<p>" doesn't immediately precede "features". And so the second group will get everything -- including any "<p>", if present -- between the first "<p>" and the "features".

jdporter
The 6th Rule of Perl Club is -- There is no Rule #6.