Facundo,

On Fri, Dec 5, 2008 at 8:49 PM, Andres Riancho <[EMAIL PROTECTED]> wrote:
> Facundo,
>
> On Fri, Dec 5, 2008 at 7:53 PM, Facundo Batista
> <[EMAIL PROTECTED]> wrote:
>> Bad news. See bug 2393362.
>>
>> There the author wants to do:
>>
>>  $xrange(10)$$xrange(10)$
>>
>> in the fuzzy generator, to create numbers from 00 to 99.
>>
>> The problem is that we decided that, as the $ was the separator, if
>> you wanted to include a real $, put two of them: $$.  The system, to
>> evaluate the text first takes out the $$, then evaluate everything,
>> and finally put backs the $$, but as $.
>>
>> So,
>>
>>  $xrange(10)$$xrange(10)$  --> xrange(2)$xrange(2)  (error)
>>
>> Putting a double $$ there doesn't solve it, because the system first
>> takes them out, then evaluate, and then put the $ back:
>>
>>  $xrange(10)$$$$xrange(10)$  --> xrange(2)$$xrange(2)  (error)
>>
>> And we *don't* want to change the order of out-eval-in, because
>> otherwise things like the following would not work:
>>
>>  $['a', '$$', 'b']$  -->  generator of 'a', '$', and 'b'
>>
>> So, unless somebody thinks of a more clever solution, I propose to
>> keep the $ as separator, but to include a $ sign you actually would
>> need to escape it \$.
>>
>>  $xrange(10)$$xrange(10)$  --> generator of 00, 01, ...
>>  $['a', '\\$', 'b']$  -->  generator of 'a', '$', and 'b'
>>
>> Note that I put two backslashes there... that's because the first is
>> to escape the second, and actually receive one "\" as independent
>> character (I could have used a raw string, also).
>>
>> What do you think?
>
> +1, and please remember to update the documentation (both the syntax
> help in the GUI and the open office doc).

Have you been able to fix this bug? Thanks for your help!

Cheers,

> Thanks!
>
>> --
>> .    Facundo
>>
>> Blog: http://www.taniquetil.com.ar/plog/
>> PyAr: http://www.python.org/ar/
>>
>> ------------------------------------------------------------------------------
>> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
>> The future of the web can't happen without you.  Join us at MIX09 to help
>> pave the way to the Next Web now. Learn more and register at
>> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
>> _______________________________________________
>> W3af-develop mailing list
>> W3af-develop@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/w3af-develop
>>
>
>
>
> --
> Andres Riancho
> http://w3af.sourceforge.net/
> Web Application Attack and Audit Framework
>



-- 
Andres Riancho
http://w3af.sourceforge.net/
Web Application Attack and Audit Framework

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
W3af-develop mailing list
W3af-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/w3af-develop

Reply via email to