in reply to Re^2: Regular Expression
in thread Regular Expression

That'll fail for <body onload="if (a > b) { ... }">. It can also fail if <body> is found in comments.

Replies are listed 'Best First'.
Re^4: Regular Expression
by Transient (Hermit) on Jun 28, 2005 at 19:42 UTC
    See Re: Regular Expression (the bottom regexp) - although to be fair, it should probably check for single quotes, too...