dblackshell,

On Sat, Mar 28, 2009 at 5:10 PM, dblackshell <backbon...@gmail.com> wrote:
> I don't know if there is a difference in performance.
> --------------
>
> I did the test in performance... for the following string: <script
> type="text/javascript">
> The results are self explanatory:
>
> <\W*script[^>]*> matched it in 29 steps
> <\W*script.*?> matched it in 73 steps
>
> plus/minus 1 or 2 (had to calculate the steps myself) :P
>

Steps? How do you calculate steps for a regex? Isn't it better to use
the python timeit module?

Cheers,
-- 
Andrés Riancho
http://www.bonsai-sec.com/
http://w3af.sourceforge.net/

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

Reply via email to