[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: using non-Emacs regexp syntax
From: |
Stefan Monnier |
Subject: |
Re: using non-Emacs regexp syntax |
Date: |
Thu, 30 Nov 2006 09:26:55 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) |
> Juri proposed a simple implementation: 'setting a new variable
> `search-dot-regexp' to "\\(.\\|[\\n]\\)".'
There's already a much more efficient implementation. See regex.h:
/* If this bit is set, then . matches newline.
If not set, then it doesn't. */
#define RE_DOT_NEWLINE (RE_CONTEXT_INVALID_OPS << 1)
-- Stefan
Re: using non-Emacs regexp syntax, Paul Pogonyshev, 2006/11/29