help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: regexp for balanced square brackets


From: Björn Lindström
Subject: Re: regexp for balanced square brackets
Date: Thu, 20 Nov 2003 02:39:08 +0100
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

David Kastrup <dak@gnu.org> writes:

> Miguel Frasson <frasson@brutus.math.leidenuniv.nl> writes:
>
>> Does somebody knows how to make a regexp such that [..], [...[...]..],
>> [...[.[..].]..] matches?
>
> No. But some people know how to prove that a regexp won't cut it, ever
> (some Perl extensions to regexps can do, IIRC).

If you want to do this in Emacs, maybe you should just write the
structure you want as a Lisp expression, and just have Elisp parse
it. (It's kind of hard to tell without knowing what you are trying to
do, however.)

-- 
Björn Lindström <bkhl@elektrubadur.se>
http://bkhl.elektrubadur.se/
ICQ: 82945879


reply via email to

[Prev in Thread] Current Thread [Next in Thread]