Re: Regex for nested {}
Chris> I have a problem matching nested levels of {} ...
Regular expressions can't count, so you'd be better off sticking with
regexes to tokenize the source, then use a real parser to parse the tokens
it produces.
Skip
.
Relevant Pages
- Re: Another search enhancement
... > Implementing wildcards for really easy, ... regexes would be quite a bit more complicated than simply calling ... There are various open source implementations of regular ... regular expressions might require a significantly different program ... (comp.os.vms) - Re: builtin regular expressions?
... It's originally from Jamie Zawinski: ... And the simple reason why Regular Expressions are not a part of the ... core Python language is that Regular Expressions are overrated. ... avoiding regexes. ... (comp.lang.python) - Re: Remove characters from string
... Tom Ogilvy ... Pick any of these and click the link to Regular expressions in the text, ... to get an explanation ... Regexes can wait until tomorrow. ... (microsoft.public.excel.programming) - Re: Regular Expressions
... > What's the way to go about learning Python's regular expressions? ... > like such an idiot - being so strong in a programming language but knowing ... regexes, and you'll find that they are really clever little creatures ... (comp.lang.python) - Re: regexp
... On Tuesday 19 December 2006 15:32, Paul Arthur wrote: ... Regexes are not well suited to this type of processing. ... What Vertigo wants can be done with relative ease with SGMLlib. ... Anyway, if you want to use regular expressions to do this, you can ... (comp.lang.python) |
|