From 428e987b61720a8b23cee6a4c806c0a1c1cdcaac Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 30 May 2013 17:05:39 +0200 Subject: updated for version 7.3.1071 Problem: New regexp engine: backreferences don't work correctly. Solution: Add every possible start/end position on the state stack. --- src/regexp.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/regexp.h') diff --git a/src/regexp.h b/src/regexp.h index 69075b5f5..e609cd291 100644 --- a/src/regexp.h +++ b/src/regexp.h @@ -87,6 +87,7 @@ typedef struct regprog_T regprog; nfa_state_T *start; int has_zend; /* pattern contains \ze */ + int has_backref; /* pattern contains \1 .. \9 */ int nsubexp; /* number of () */ int nstate; nfa_state_T state[0]; /* actually longer.. */ -- cgit v1.2.3