Mercurial > emacs
changeset 9982:65d2d56726ea
(RE_NO_POSIX_BACKTRACKING): New macro.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 16 Nov 1994 20:28:48 +0000 |
parents | f537f1e7264a |
children | ef6e1637c777 |
files | src/regex.h |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/regex.h Wed Nov 16 16:57:31 1994 +0000 +++ b/src/regex.h Wed Nov 16 20:28:48 1994 +0000 @@ -130,6 +130,10 @@ If not set, then an unmatched ) is invalid. */ #define RE_UNMATCHED_RIGHT_PAREN_ORD (RE_NO_EMPTY_RANGES << 1) +/* If this bit is set, succeed as soon as we match the whole pattern, + without further backtracking. */ +#define RE_NO_POSIX_BACKTRACKING (RE_UNMATCHED_RIGHT_PAREN_ORD << 1) + /* This global variable defines the particular regexp syntax to use (for some interfaces). When a regexp is compiled, the syntax used is stored in the pattern buffer, so changing this does not affect