summaryrefslogtreecommitdiff
path: root/src/regexp.h
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.1.2366: using old C style commentsv8.1.2366Bram Moolenaar2019-11-301-16/+16
| | | | | Problem: Using old C style comments. Solution: Use // comments where appropriate.
* patch 8.1.1194: typos and small problems in source filesv8.1.1194Bram Moolenaar2019-04-211-1/+1
| | | | | Problem: Typos and small problems in source files. Solution: Small fixes.
* patch 8.1.0192: executing regexp recursively fails with a crashv8.1.0192Bram Moolenaar2018-07-171-4/+7
| | | | | Problem: Executing regexp recursively fails with a crash. Solution: Move global variables into "rex".
* patch 8.0.0643: when a pattern search is slow Vim becomes unusablev8.0.0643Bram Moolenaar2017-06-171-2/+2
| | | | | | | | Problem: When 'hlsearch' is set and matching with the last search pattern is very slow, Vim becomes unusable. Cannot quit search by pressing CTRL-C. Solution: When the search times out set a flag and don't try again. Check for timeout and CTRL-C in NFA loop that adds states.
* patch 7.4.2293v7.4.2293Bram Moolenaar2016-08-291-1/+1
| | | | | Problem: Modelines in source code are inconsistant. Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
* updated for version 7.4.497v7.4.497Bram Moolenaar2014-11-051-6/+20
| | | | | | | Problem: With some regexp patterns the NFA engine uses many states and becomes very slow. To the user it looks like Vim freezes. Solution: When the number of states reaches a limit fall back to the old engine. (Christian Brabandt)
* updated for version 7.4.262v7.4.262Bram Moolenaar2014-04-231-5/+1
| | | | | Problem: Duplicate code in regexec(). Solution: Add line_lbr flag to regexec_nl().
* updated for version 7.3.1165v7.3.1165Bram Moolenaar2013-06-111-1/+1
| | | | | Problem: HP-UX compiler can't handle zero size array. (Charles Cooper) Solution: Make the array one item big.
* updated for version 7.3.1149v7.3.1149Bram Moolenaar2013-06-081-0/+2
| | | | | | Problem: New regexp engine: Matching plain text could be faster. Solution: Detect a plain text match and handle it specifically. Add vim_regfree().
* updated for version 7.3.1139v7.3.1139Bram Moolenaar2013-06-071-1/+0
| | | | | Problem: New regexp engine: negated flag is hardly used. Solution: Add separate _NEG states, remove negated flag.
* updated for version 7.3.1133v7.3.1133Bram Moolenaar2013-06-061-0/+4
| | | | | | Problem: New regexp engine is a bit slow. Solution: Skip ahead to a character that must match. Don't try matching a "^" patter past the start of line.
* updated for version 7.3.1106v7.3.1106Bram Moolenaar2013-06-031-1/+1
| | | | | | Problem: New regexp engine: saving and restoring lastlist in the states takes a lot of time. Solution: Use a second lastlist value for the first recursive call.
* updated for version 7.3.1092v7.3.1092Bram Moolenaar2013-06-021-2/+4
| | | | | | | Problem: Can't build with regexp debugging. NFA debug output shows wrong pattern. Solution: Fix debugging code for recent changes. Add the pattern to the program.
* updated for version 7.3.1090v7.3.1090Bram Moolenaar2013-06-011-0/+5
| | | | | Problem: New regexp engine does not support \z1 .. \z9 and \z(. Solution: Implement the syntax submatches.
* updated for version 7.3.1071v7.3.1071Bram Moolenaar2013-05-301-0/+1
| | | | | Problem: New regexp engine: backreferences don't work correctly. Solution: Add every possible start/end position on the state stack.
* updated for version 7.3.1039v7.3.1039Bram Moolenaar2013-05-291-0/+1
| | | | | Problem: New regexp engine does not support \%23c, \%<23c and the like. Solution: Implement them. (partly by Yasuhiro Matsumoto)
* updated for version 7.3.1033v7.3.1033Bram Moolenaar2013-05-281-1/+0
| | | | | Problem: "\1" .. "\9" are not supported in the new regexp engine. Solution: Implement them. Add a few more tests.
* updated for version 7.3.1028v7.3.1028Bram Moolenaar2013-05-261-0/+1
| | | | | Problem: New regexp performance: Copying a lot of position state. Solution: Only copy the sub-expressions that are being used.
* updated for version 7.3.1024v7.3.1024Bram Moolenaar2013-05-261-0/+1
| | | | | | | 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.
* updated for version 7.3.1017v7.3.1017Bram Moolenaar2013-05-251-2/+0
| | | | | | Problem: Zero width match changes length of match. Solution: For a zero width match put new states in the current position in the state list.
* updated for version 7.3.1016v7.3.1016Bram Moolenaar2013-05-251-1/+0
| | | | | Problem: Unused field in nfa_state. Solution: Remove lastthread.
* updated for version 7.3.970v7.3.970Bram Moolenaar2013-05-191-4/+74
| | | | | | | Problem: Syntax highlighting can be slow. Solution: Include the NFA regexp engine. Add the 'regexpengine' option to select which one is used. (various authors, including Ken Takata, Andrei Aiordachioaie, Russ Cox, Xiaozhou Liua, Ian Young)
* updated for version 7.0109Bram Moolenaar2005-07-181-1/+1
|
* updated for version 7.0107Bram Moolenaar2005-07-111-0/+1
|
* updated for version 7.0001v7.0001Bram Moolenaar2004-06-131-0/+80