Quote:
Originally Posted by hobnail
I'm certainly no regexp wizard; what's the ?<= at the beginning of the h2 match doing? And why do you have backslashes in front of the < and >?
|
That's a regex lookbehind.
He's just escaping the the angle brackets with the backslash--though there's no real reason to since they aren't regex metacharacters to begin with.
How does your regex deal with more than one word between the h tags?