diff options
author | Richard M. Stallman <rms@gnu.org> | 1994-11-16 20:28:48 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1994-11-16 20:28:48 +0000 |
commit | 5cc055623c120b0a30611c9563b6e2f71060e752 (patch) | |
tree | dee052dbda55624b1ea35cb79d9306a540649dc2 /src/regex.h | |
parent | 58fcaaf1757decf9af8d014acfe784f05f8ffef3 (diff) | |
download | emacs-5cc055623c120b0a30611c9563b6e2f71060e752.tar.gz |
(RE_NO_POSIX_BACKTRACKING): New macro.
Diffstat (limited to 'src/regex.h')
-rw-r--r-- | src/regex.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/regex.h b/src/regex.h index 55927f627c9..66791b0670b 100644 --- a/src/regex.h +++ b/src/regex.h @@ -130,6 +130,10 @@ typedef unsigned reg_syntax_t; 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 |