Bram Moolenaar
e6a2fa6573
updated for version 7.4.028
...
Problem: Equivalence classes are not working for multi-byte characters.
Solution: Copy the rules from the old to the new regexp engine. Add a test
to check both engines.
2013-09-19 17:00:20 +02:00
Bram Moolenaar
9be4481892
updated for version 7.4.021
...
Problem: NFA regexp: Using \ze in one branch which doesn't match may cause
end of another branch to be wrong. (William Fugh)
Solution: Set end position if it wasn't set yet.
2013-09-05 21:15:44 +02:00
Bram Moolenaar
78c93e4b6a
updated for version 7.4.020
...
Problem: NFA engine matches too much with \@>. (John McGowan)
Solution: When a whole pattern match is found stop searching.
2013-09-05 16:05:36 +02:00
Bram Moolenaar
41f1205fef
updated for version 7.4.008
...
Problem: New regexp engine can't be interrupted.
Solution: Check for CTRL-C pressed. (Yasuhiro Matsumoto)
2013-08-25 17:01:42 +02:00
Bram Moolenaar
ebefd997bb
updated for version 7.4.003
...
Problem: Memory access error in Ruby syntax highlighting. (Christopher Chow)
Solution: Refresh stale pointer. (James McCoy)
2013-08-14 14:18:40 +02:00
Bram Moolenaar
3f0df06c28
updated for version 7.4.002
...
Problem: Pattern with two alternative look-behind matches does not match.
(Amadeus Demarzi)
Solution: When comparing PIMs also compare their state ID to see if they are
different.
2013-08-14 13:34:25 +02:00
Bram Moolenaar
1cfad52a03
updated for version 7.4.001
...
Problem: Character classes such as [a-z] to not react to 'ignorecase'.
Breaks man page highlighting. (Mario Grgic)
Solution: Add separate items for classes that react to 'ignorecase'. Clean
up logic handling character classes. Add more tests.
2013-08-14 12:06:49 +02:00
Bram Moolenaar
eec3e1e72a
updated for version 7.4b.004
...
Problem: Regexp crash on pattern "@\%[\w\-]*". (Axel Kielhorn)
Solution: Add \%(\) around \%[] internally.
2013-08-01 18:38:26 +02:00
Bram Moolenaar
6dbe68cd9e
updated for version 7.4b.003
...
Problem: Regexp code is not nicely aligned.
Solution: Adjust white space. (Ken Takata)
2013-08-01 16:21:34 +02:00
Bram Moolenaar
398d53decf
updated for version 7.4b.002
...
Problem: Crash searching for \%(\%(\|\d\|-\|\.\)*\|\*\). (Marcin
Szamotulski) Also for \(\)*.
Solution: Do add a state for opening parenthesis, so that we can check if it
was added before at the same position.
2013-08-01 15:45:52 +02:00
Bram Moolenaar
196ed14d15
updated for version 7.4a.039
...
Problem: New regexp engine doesn't match pattern. (Ingo Karkat)
Solution: When adding a state also check for different PIM if the list of
states has any state with a PIM.
2013-07-21 18:59:24 +02:00
Bram Moolenaar
ac7c33e38c
updated for version 7.4a.036
...
Problem: "\p" in a regexp does not match double-width characters.
(Yukihiro Nakadaira)
Solution: Don't count display cells, use vim_isprintc().
2013-07-21 17:06:00 +02:00
Bram Moolenaar
69b52456fc
updated for version 7.4a.032
...
Problem: New regexp engine: Does not match shorter alternative. (Ingo
Karkat)
Solution: Do not drop a new state when the PIM info is different.
2013-07-17 21:10:51 +02:00
Bram Moolenaar
de9149ef18
updated for version 7.4a.031
...
Problem: Compiler warnings. (Charles Campbell)
Solution: Initialize variables even when not needed.
2013-07-17 19:22:13 +02:00
Bram Moolenaar
3fb14bc734
updated for version 7.4a.020
...
Problem: Superfluous mb_ptr_adv().
Solution: Remove the call. (Dominique Pelle)
2013-07-14 12:34:56 +02:00
Bram Moolenaar
690ae9c858
updated for version 7.4a.018
...
Problem: Compiler warning for code unreachable. (Charles Campbell)
Solution: Use "while" instead of endless loop. Change break to continue.
2013-07-13 20:58:11 +02:00
Bram Moolenaar
d05bf560ac
updated for version 7.3.1280
...
Problem: Reading memory already freed since patch 7.3.1247. (Simon
Ruderich, Dominique Pelle)
Solution: Copy submatches before reallocating the state list.
2013-06-30 23:24:08 +02:00
Bram Moolenaar
55480dccf4
updated for version 7.3.1272
...
Problem: Crash when editing Ruby file. (Aliaksandr Rahalevich)
Solution: Reallocate the state list when necessary.
2013-06-30 13:17:24 +02:00
Bram Moolenaar
4d9ae21a34
updated for version 7.3.1258
...
Problem: Using submatch() may crash Vim. (Ingo Karkat)
Solution: Restore the number of subexpressions used.
2013-06-28 23:04:42 +02:00
Bram Moolenaar
a0169128d9
updated for version 7.3.1247
...
Problem: New regexp engine: '[ ]\@!\p\%([ ]\@!\p\)*:' does not always match.
Solution: When there is a PIM add a duplicate state that starts at another
position.
2013-06-26 18:16:58 +02:00
Bram Moolenaar
f86c0b01a7
updated for version 7.3.1243
...
Problem: New regexp engine: back references in look-behind match don't
work. (Lech Lorens)
Solution: Copy the submatches before a recursive match.
2013-06-26 12:42:44 +02:00
Bram Moolenaar
fe70acb376
updated for version 7.3.1224
...
Problem: Clang gives warnings on xxd.
Solution: Change how to use part of a string. (Dominique Pelle) Also avoid
warning for return not reached.
2013-06-21 18:31:23 +02:00
Bram Moolenaar
d79862599d
updated for version 7.3.1217
...
Problem: New regexp engine: Can't handle \%[[ao]]. (Yukihiro Nakadaira)
Solution: Support nested atoms inside \%[].
2013-06-17 21:33:41 +02:00
Bram Moolenaar
01b626c26e
updated for version 7.3.1214
...
Problem: Missing declaration for init_users() and realloc_post_list().
(Salman Halim)
Solution: Add the declarations.
2013-06-16 22:49:14 +02:00
Bram Moolenaar
a50d02d983
updated for version 7.3.1207
...
Problem: New regexp engine: no match found on "#if FOO". (Lech Lorens)
Solution: When adding a state gets skipped don't adjust the index.
2013-06-16 15:43:50 +02:00
Bram Moolenaar
44c71db771
updated for version 7.3.1194
...
Problem: Yaml highlighting is slow.
Solution: Tune the estimation of pattern failure chance.
2013-06-14 22:33:51 +02:00
Bram Moolenaar
c5089bb8ff
updated for version 7.3.1192
...
Problem: Valgrind reports errors when using backreferences. (Dominique
Pelle)
Solution: Do not check the end of submatches.
2013-06-14 21:15:25 +02:00
Bram Moolenaar
580abea48a
updated for version 7.3.1191
...
Problem: Backreference to previous line doesn't work. (Lech Lorens)
Solution: Implement looking in another line.
2013-06-14 20:31:28 +02:00
Bram Moolenaar
4c46b5e001
updated for version 7.3.1189
...
Problem: Highlighting is still wrong sometimes. (Dominique Pelle)
Solution: Also restore reginput properly.
2013-06-13 22:59:30 +02:00
Bram Moolenaar
b62bcd1e05
updated for version 7.3.1185
...
Problem: New regexp engine: no match with ^ after \n. (SungHyun Nam)
Solution: Fix it, add a test.
2013-06-13 20:19:40 +02:00
Bram Moolenaar
484d241a4a
updated for version 7.3.1184
...
Problem: Highlighting is sometimes wrong. (Axel Bender)
Solution: Fetch regline again when returning from recursive regmatch.
2013-06-13 19:47:07 +02:00
Bram Moolenaar
a2947e2bea
updated for version 7.3.1169
...
Problem: New regexp engine: some work is done while executing a pattern,
even though the result is predictable.
Solution: Do the work while compiling the pattern.
2013-06-11 22:44:09 +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
bcf4d178ab
updated for version 7.3.1157
...
Problem: New regexp engine fails on "\(\<command\)\@<=.*"
Solution: Fix rule for postponing match. Further tune estimating whether
postponing works better. Add test.
2013-06-10 16:35:18 +02:00
Bram Moolenaar
4380d1ea23
updated for version 7.3.1156
...
Problem: Compiler warnings. (dv1445)
Solution: Initialize variables, even when the value isn't really used.
2013-06-09 20:51:00 +02:00
Bram Moolenaar
927d4a1fb5
updated for version 7.3.1154
...
Problem: New regexp_nfa engine: Uneccessary code.
Solution: Remove uneccessary code.
2013-06-09 17:25:34 +02:00
Bram Moolenaar
2a4e98ac1e
updated for version 7.3.1153
...
Problem: New regexp engine: Some look-behind matches are very expensive.
Solution: Pospone invisible matches further, until a match is almost found.
2013-06-09 16:24:45 +02:00
Bram Moolenaar
a940aa6fc4
updated for version 7.3.1152
...
Problem: In tiny build ireg_icombine is undefined. (Tony Mechelynck)
Solution: Add #ifdef.
2013-06-08 23:30:04 +02:00
Bram Moolenaar
1e02e6620b
updated for version 7.3.1151
...
Problem: New regexp engine: Slow when a look-behind match is followed by a
zero-width match.
Solution: Postpone the look-behind match more often.
2013-06-08 23:26:27 +02:00
Bram Moolenaar
e7766eeaa5
updated for version 7.3.1150
...
Problem: New regexpengine: Slow when a look-behind match does not have a
width specified.
Solution: Try to compute the maximum width.
2013-06-08 22:30:03 +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
87f764a891
updated for version 7.3.1147
...
Problem: New regexp engine: regstart is only used to find the first match.
Solution: Use regstart whenever adding the start state.
2013-06-08 14:38:27 +02:00
Bram Moolenaar
b1b284fd5d
updated for version 7.3.1146
...
Problem: New regexp engine: look-behind match not checked when followed by
zero-width match.
Solution: Do the look-behind match before adding the zero-width state.
2013-06-08 13:33:37 +02:00
Bram Moolenaar
f96d109827
updated for version 7.3.1145
...
Problem: New regexp engine: addstate() is called very often.
Solution: Optimize adding the start state.
2013-06-07 22:39:40 +02:00
Bram Moolenaar
43e0298416
updated for version 7.3.1140
...
Problem: New regexp engine: trying expensive match while the result is not
going to be used.
Solution: Check for output state already being in the state list.
2013-06-07 17:31:29 +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
8aca2e9bef
updated for version 7.3.1138
...
Problem: New regexp engine: neglist no longer used.
Solution: Remove the now unused neglist.
2013-06-07 14:59:18 +02:00
Bram Moolenaar
417bad227a
updated for version 7.3.1137
...
Problem: New regexp engine: collections are slow.
Solution: Handle all characters in one go.
2013-06-07 14:08:30 +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
6d3a5d755a
updated for version 7.3.1132
...
Problem: Crash when debugging regexp.
Solution: Do not try to dump subexpr that were not set. Skip over count of
\% items.
2013-06-06 18:04:51 +02:00