45674RE: Regexp help
- Dec 2, 2003At 23:01 12-01-2003, Srinath Avadhanula wrote:
>On Tue, 2 Dec 2003, John Aldridge wrote:Ah... The only automatic folding I've done is by way of the syntax files,
> > At 22:30 12-01-2003, Srinath Avadhanula wrote:
> > >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...
> > For my curiosity, what were you hoping to do with such regexes?
> > Do you think you'll attempt a scripting solution?
>I wanted a regexp solution for paren balancing specifically for use in
>the vim-latex project. I have a function which creates regexp based
>folds just like vim's native syntax foldmethod. That function requires
>a regexp start pattern and regexp end pattern to define the start and
>end of a fold region.
and its been a while since I've written any block syntax commands.
Thanks for the response.
"John R. Aldridge, Jr."
- << Previous post in topic Next post in topic >>