Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The regex code has the following bugs, mostly related to lookbehind: - Comparison of CharPointers with == is wrong, .equals should be used instead. - In the original C code, the behind_pos variable is declared as 'static regsave_T behind_pos;', i.e. not a pointer, and the same for other variables of type regsave_T. So assignments to these types of variables need to make deep copies.
- Loading branch information
Showing
2 changed files
with
21 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters