His choice of character class [^>] matches anything _except_ the '>' character, that includes newlines.
Autark.
In reply to Re: Re: HTML Matching by autark in thread HTML Matching by spaz