regular expression for nested matching braces

Paul Magwene p.magwene at snet.net
Mon Mar 4 18:47:29 EST 2002


On Sun, 03 Mar 2002 12:02:23 -0500, Darrell wrote:

I was afraid that might be the case (i.e. standard regular expressions
couldn't handle the nested braces).  Well, I guess it's back to my
function based approach.

Thanks,
Paul


> Tim Peters Explains it here.
> http://groups.google.com/groups?th=ed6a75bc5eed7ee9&seekm=000401be9e6d%2427a98ec0%24029e2299
> 
> Searched on
> "tim peters match"
> It's result 203
> 
> --Darrell
> 
> Paul M
> wrote:
> 
>> Is it possible to create a regular expression for searching for the
>> outermost matching braces in a string in which there may be nested
>> braces?
>> 


I w



More information about the Python-list mailing list