45654RE: Regexp help
- Dec 1, 2003Hi Jonah,
On Tue, 2 Dec 2003, jonah wrote:
> The general problem cannot be solved with regular expressions.
> See, eg, http://science.slc.edu/~msiff/old-courses/compilers/notes/parse.html
> It is possible that vim's extended regular expression support offers some way to
> do it, but I doubt it.
Thanks for the answer. It was quite an eye-opener to know that
parentheses balancing is unsolvable using regexps! On further googling,
it looks like none of the common regexp engines can actually do this...
- << Previous post in topic Next post in topic >>