[Top][All Lists]
[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.
- using non-Emacs regexp syntax, Paul Pogonyshev, 2006/11/28
- Re: using non-Emacs regexp syntax, Richard Stallman, 2006/11/29
- RE: using non-Emacs regexp syntax,
Drew Adams <=
- Re: using non-Emacs regexp syntax, David Kastrup, 2006/11/29
- Re: using non-Emacs regexp syntax, Paul Pogonyshev, 2006/11/29
- Re: using non-Emacs regexp syntax, Jari Aalto, 2006/11/29
- RE: using non-Emacs regexp syntax, Drew Adams, 2006/11/29
- Re: using non-Emacs regexp syntax, Stefan Monnier, 2006/11/30
Re: using non-Emacs regexp syntax, Paul Pogonyshev, 2006/11/29