[BangPypers] Do you think a more declarative RE syntax would make the world a better place ?

Vishal vsapre80 at gmail.com
Mon Aug 9 19:17:36 CEST 2010


Here are a couple more regular expression analyzers:

http://xenon.stanford.edu/~xusch/regexp/analyzer.html

<http://xenon.stanford.edu/~xusch/regexp/analyzer.html>a tool you can
download to your pc:
http://www.ultrapico.com/Expresso.htm

On Mon, Aug 9, 2010 at 9:42 PM, Vishal <vsapre80 at gmail.com> wrote:

>
>
> On Mon, Aug 9, 2010 at 5:41 PM, Senthil Kumaran <orsenthil at gmail.com>wrote:
>
>> On Mon, Aug 9, 2010 at 5:04 PM, Vishal <vsapre80 at gmail.com> wrote:
>> > # a(b|c)d+e*
>> >
>> > re1 = """
>> >
>> > - literal: 'a'
>> > - one_of: 'b,c'
>> > - one_or_more_of: 'd'
>> > - zero_or_more_of: 'e'
>> > """
>>
>> It *could be* useful to new comers, but not very much.
>> This will add to the cost of covering it to regex code and will cause
>> significant delay in the programs which are using regex. So in big
>> apps it may not be of use.
>> Have you seen re.VERBOSE flag in the re module? Thats perhaps the
>> middle path (tm). :)
>>
>>
>> --
>> Senthil
>>
>>
> Thanks for that info. Actually the re.X option fills in for a lot of the
> complexity.
> I had looked into it before.
>
> --
> Thanks and best regards,
> Vishal
>



-- 
Thanks and best regards,
Vishal Sapre

---
"So say...Day by day, in every way, I am getting better, better and better
!!!"
"A Strong and Positive attitude creates more miracles than anything else.
Because...Life is 10% how you make it, and 90% how you take it"
"Diamond is another piece of coal that did well under pressure”
"May we do good and not evil. May we find forgiveness for ourself and
forgive others. May we share freely, never taking more than we give."


More information about the BangPypers mailing list