mirror of
https://github.com/vim/vim.git
synced 2025-11-14 23:04:02 -05:00
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.
This commit is contained in:
@@ -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.. */
|
||||
|
||||
Reference in New Issue
Block a user