On Fri, Mar 27, 2009 at 02:58:56PM +0100, Achim wrote: > > > > with this: > > > > regex_string = '<\W*script[^>]*>.*' > > ... > > regex_string += '.*</\W*script[^>]*>' > > hmm, has anybody seen a browser which allows tags like this? > IMHO only following regex matches valid tags: > ^<[a-zA-Z].*
I have never personally nseen any tags with leading whitespace, no. I expect Andres had some reason for putting that in there though. Browsers will accept the strangest things, you'd be surprised! /olle ------------------------------------------------------------------------------ _______________________________________________ W3af-develop mailing list W3af-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/w3af-develop