mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
updated for version 7.3.1024
Problem: New regexp: End of matching pattern not set correctly. (Cesar Romani) Solution: Quit the loop after finding the match. Store nfa_has_zend in the program.
This commit is contained in:
@@ -86,6 +86,7 @@ typedef struct
|
||||
|
||||
regprog_T regprog;
|
||||
nfa_state_T *start;
|
||||
int has_zend; /* pattern contains \ze */
|
||||
int nstate;
|
||||
nfa_state_T state[0]; /* actually longer.. */
|
||||
} nfa_regprog_T;
|
||||
|
Reference in New Issue
Block a user