emacs-devel
[Top][All Lists]
Advanced

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

RE: using non-Emacs regexp syntax


From: Drew Adams
Subject: RE: using non-Emacs regexp syntax
Date: Wed, 29 Nov 2006 08:38:02 -0800

>     Is there a function to convert non-Emacs regexps (e.g. "ab(c+|d)" to
>     Emacs regexps (example to "ab\(c+\|d\)")?
>
> The first form appears to be an "extended regexp" or egrep-style regexp.
> The second appears to be a "basic regexp" or grep-style regexp.
>
> This conversion feature in Lisp would be useful to add after the release.

Very glad to hear that.

I'm hoping there will also be support for toggling the newline sensitivity
of dot. This means a "doc-matches-newline" mode (aka "single-line" mode)
where `.' will also match newline. Please see the thread "short regexp to
match any character?" from 2006/03/04 and 03/11.





reply via email to

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