On Fri, Mar 27, 2009 at 06:03:22PM -0300, Andres Riancho wrote:
> 
> What about:
> 
> <\W*script[^>]*>
> vs.
> <\W*script.*?>

I don't know if there is a difference in performance. The only reason I
changed it was personal preference. You might also have noticed that I
changed the .* between tags to greedy, since the point of the regexp was
to identify a certain piece of code anywhere inside a script-tag and not
actually to match each instance. I think that made more of a difference
in the problem case I was having. If you want me to experiment more to
get a better understanding of what change made the difference I can do
that on Monday...

/olle

------------------------------------------------------------------------------
_______________________________________________
W3af-develop mailing list
W3af-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/w3af-develop

Reply via email to