regular expression for nested matching braces

Boris^2 borcis at geneva-link.ch
Mon Mar 4 04:00:27 EST 2002


Darrell wrote:

> 
> 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$


Tim expounds there that :

 >> "Regular expressions can't count" -- nested brackets are beyond 
their abilities.

Nevertheless, searching google groups with "context-free expressions" 
turns up :

http://groups.google.ch/groups?q=context-free+expressions&hl=de&selm=1v35mpINNl78%40uwm.edu&rnum=1

that tells a slightly different (and interesting) story.


Boris





More information about the Python-list mailing list