Bram Moolenaar
9bf703d46a
patch 8.1.2366: using old C style comments
...
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
2019-11-30 19:44:38 +01:00
Bram Moolenaar
ad3ec76bb8
patch 8.1.1194: typos and small problems in source files
...
Problem: Typos and small problems in source files.
Solution: Small fixes.
2019-04-21 00:00:13 +02:00
Bram Moolenaar
0270f38e1a
patch 8.1.0192: executing regexp recursively fails with a crash
...
Problem: Executing regexp recursively fails with a crash.
Solution: Move global variables into "rex".
2018-07-17 05:43:58 +02:00
Bram Moolenaar
fbd0b0af68
patch 8.0.0643: when a pattern search is slow Vim becomes unusable
...
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.
2017-06-17 18:44:21 +02:00
Bram Moolenaar
edf3f97ae2
patch 7.4.2293
...
Problem: Modelines in source code are inconsistant.
Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
2016-08-29 22:49:24 +02:00
Bram Moolenaar
fda3729a06
updated for version 7.4.497
...
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)
2014-11-05 14:27:36 +01:00
Bram Moolenaar
2af78a1408
updated for version 7.4.262
...
Problem: Duplicate code in regexec().
Solution: Add line_lbr flag to regexec_nl().
2014-04-23 19:06:37 +02:00
Bram Moolenaar
16619a235b
updated for version 7.3.1165
...
Problem: HP-UX compiler can't handle zero size array. (Charles Cooper)
Solution: Make the array one item big.
2013-06-11 18:42:36 +02:00
Bram Moolenaar
473de61b04
updated for version 7.3.1149
...
Problem: New regexp engine: Matching plain text could be faster.
Solution: Detect a plain text match and handle it specifically. Add
vim_regfree().
2013-06-08 18:19:48 +02:00
Bram Moolenaar
decd9540fd
updated for version 7.3.1139
...
Problem: New regexp engine: negated flag is hardly used.
Solution: Add separate _NEG states, remove negated flag.
2013-06-07 16:31:50 +02:00
Bram Moolenaar
d89616ebb8
updated for version 7.3.1133
...
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.
2013-06-06 18:46:06 +02:00
Bram Moolenaar
dd2ccdf6ea
updated for version 7.3.1106
...
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.
2013-06-03 12:17:04 +02:00
Bram Moolenaar
69afb7bf0a
updated for version 7.3.1092
...
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.
2013-06-02 15:55:55 +02:00
Bram Moolenaar
efb23f26e8
updated for version 7.3.1090
...
Problem: New regexp engine does not support \z1 .. \z9 and \z(.
Solution: Implement the syntax submatches.
2013-06-01 23:02:54 +02:00
Bram Moolenaar
428e987b61
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.
2013-05-30 17:05:39 +02:00
Bram Moolenaar
423532e10d
updated for version 7.3.1039
...
Problem: New regexp engine does not support \%23c, \%<23c and the like.
Solution: Implement them. (partly by Yasuhiro Matsumoto)
2013-05-29 21:14:42 +02:00
Bram Moolenaar
5714b80032
updated for version 7.3.1033
...
Problem: "\1" .. "\9" are not supported in the new regexp engine.
Solution: Implement them. Add a few more tests.
2013-05-28 22:03:20 +02:00
Bram Moolenaar
963fee2d69
updated for version 7.3.1028
...
Problem: New regexp performance: Copying a lot of position state.
Solution: Only copy the sub-expressions that are being used.
2013-05-26 21:47:28 +02:00
Bram Moolenaar
57a285b105
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.
2013-05-26 16:57:28 +02:00
Bram Moolenaar
4b41706477
updated for version 7.3.1017
...
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.
2013-05-25 20:19:50 +02:00
Bram Moolenaar
f47ca63dbc
updated for version 7.3.1016
...
Problem: Unused field in nfa_state.
Solution: Remove lastthread.
2013-05-25 15:31:05 +02:00
Bram Moolenaar
fbc0d2ea1e
updated for version 7.3.970
...
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)
2013-05-19 19:40:29 +02:00
Bram Moolenaar
bbebc85750
updated for version 7.0109
2005-07-18 21:47:53 +00:00
Bram Moolenaar
3b56eb3d31
updated for version 7.0107
2005-07-11 22:40:32 +00:00
Bram Moolenaar
071d4279d6
updated for version 7.0001
2004-06-13 20:20:40 +00:00