Bram Moolenaar
188c57bcd1
updated for version 7.3.1131
...
Problem: New regexp engine is a bit slow.
Solution: Do not clear the state list. Don't copy syntax submatches when
not used.
2013-06-06 16:22:06 +02:00
Bram Moolenaar
cd2d8bb6ea
updated for version 7.3.1128
...
Problem: Now that the NFA engine handles everything every failure is a
syntax error.
Solution: Remove the syntax_error flag.
2013-06-05 21:42:53 +02:00
Bram Moolenaar
2976c028ca
updated for version 7.3.1127
...
Problem: No error for using empty \%[].
Solution: Give error message.
2013-06-05 21:30:37 +02:00
Bram Moolenaar
c19b4b50a8
updated for version 7.3.1126
...
Problem: Compiler warning for unitialized variable. (Tony Mechelynck)
Solution: Assign something to the variable.
2013-06-05 21:23:39 +02:00
Bram Moolenaar
973fced763
updated for version 7.3.1125
...
Problem: Error for using \%V in a pattern in tiny Vim.
Solution: Allow using \%V but never match. (Dominique Pelle)
2013-06-05 21:10:59 +02:00
Bram Moolenaar
8795374bd3
updated for version 7.3.1122
...
Problem: New regexp engine: \%> not supported.
Solution: Implement \%>.
2013-06-05 18:52:40 +02:00
Bram Moolenaar
67604aed75
updated for version 7.3.1121
...
Problem: New regexp engine: adding states that are not used.
Solution: Don't add the states.
2013-06-05 16:51:57 +02:00
Bram Moolenaar
5b84ddccea
updated for version 7.3.1120
...
Problem: Crash when regexp logging is enabled.
Solution: Avoid using NULL pointers. Advance over count argument.
2013-06-05 16:33:10 +02:00
Bram Moolenaar
1cd3f2c450
updated for version 7.3.1119
...
Problem: Flags in 'cpo' are search for several times.
Solution: Store the result and re-use the flags.
2013-06-05 12:43:09 +02:00
Bram Moolenaar
e2b8cb3b15
updated for version 7.3.1118
...
Problem: Match failure rate is not very specific.
Solution: Tune the failure rate for match items.
2013-06-05 11:46:25 +02:00
Bram Moolenaar
d75799ab7f
updated for version 7.3.1117
...
Problem: New regexp engine: \%[abc] not supported.
Solution: Implement \%[abc]. Add tests.
2013-06-05 11:05:17 +02:00
Bram Moolenaar
78eae9aaf7
updated for version 7.3.1116
...
Problem: Can't build without Visual mode.
Solution: Add #ifdefs.
2013-06-05 11:02:05 +02:00
Bram Moolenaar
b76591ef4a
updated for version 7.3.1114
...
Problem: Can't build without the syntax feature.
Solution: Add #ifdefs. (Erik Falor)
2013-06-04 21:42:22 +02:00
Bram Moolenaar
044aa290c5
updated for version 7.3.1113
...
Problem: New regexp engine: \%'m not supported.
Solution: Implement \%'m. Add tests.
2013-06-04 21:27:38 +02:00
Bram Moolenaar
dacd7de3fd
updated for version 7.3.1112
...
Problem: New regexp engine: \%V not supported.
Solution: Implement \%V. Add tests.
2013-06-04 18:28:48 +02:00
Bram Moolenaar
f811509c03
updated for version 7.3.1111
...
Problem: nfa_recognize_char_class() implementation is inefficient.
Solution: Use bits in an int instead of chars in a string. (Dominique Pelle)
2013-06-04 17:47:05 +02:00
Bram Moolenaar
a2d9510861
updated for version 7.3.1110
...
Problem: New regexp matching: Using \@= and the like can be slow.
Solution: Decide whether to first try matching the zero-wdith part or what
follows, whatever is more likely to fail.
2013-06-04 14:23:05 +02:00
Bram Moolenaar
01d89dddfa
updated for version 7.3.1107
...
Problem: Compiler warnings for unused variables.
Solution: Put the variables inside #ifdef.
2013-06-03 19:41: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
f46da70603
updated for version 7.3.1105
...
Problem: New regexp engine: too much code in one function. Dead code.
Solution: Move the recursive nfa_regmatch call to a separate function.
Remove the dead code.
2013-06-02 22:37:42 +02:00
Bram Moolenaar
f18fb7af75
updated for version 7.3.1104
...
Problem: New regexp engine does not handle "~".
Solution: Add support for "~".
2013-06-02 22:08:03 +02:00
Bram Moolenaar
f6de032afe
updated for version 7.3.1103
...
Problem: New regexp engine: overhead in saving and restoring.
Solution: Make saving and restoring list IDs faster. Don't copy or check \z
subexpressions when they are not used.
2013-06-02 21:30:04 +02:00
Bram Moolenaar
525666f282
updated for version 7.3.1095
...
Problem: Compiler warnings for shadowed variables. (Christian Brabandt)
Solution: Rename new_state() to alloc_state(). Remove unnecessary
declaration.
2013-06-02 16:40:55 +02:00
Bram Moolenaar
307aa16a69
updated for version 7.3.1094
...
Problem: New regexp engine: Attempts to match "^" at every character.
Solution: Only try "^" at the start of a line.
2013-06-02 16:34:21 +02:00
Bram Moolenaar
b122e9798e
updated for version 7.3.1093
...
Problem: New regexp engine: When a sub expression is empty \1 skips a
character.
Solution: Make \1 try the current position when the match is emtpy.
2013-06-02 16:07:10 +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
5de820b916
updated for version 7.3.1091
...
Problem: New regexp engine: no error when using \z1 or \z( where it does
not work.
Solution: Give an error message.
2013-06-02 15:01:57 +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
61602c5bfe
updated for version 7.3.1088
...
Problem: New regexp engine: \@<= and \@<! are not implemented.
Solution: Implement look-behind matching. Fix off-by-one error in old
regexp engine.
2013-06-01 19:54:43 +02:00
Bram Moolenaar
3737fc1c30
updated for version 7.3.1087
...
Problem: A leading star is not seen as a normal char when \{} follows.
Solution: Save and restore the parse state properly.
2013-06-01 14:42:56 +02:00
Bram Moolenaar
75d7a06920
updated for version 7.3.1086
...
Problem: Old regexp engine accepts illegal range, new one doesn't.
Solution: Also accept the illegal range with the new engine.
2013-06-01 13:24:24 +02:00
Bram Moolenaar
36b3a011d3
updated for version 7.3.1085
...
Problem: New regexp engine: Non-greedy multi doesn't work.
Solution: Implement \{-}.
2013-06-01 12:40:20 +02:00
Bram Moolenaar
54dafde170
updated for version 7.3.1084
...
Problem: New regexp engine: only accepts up to \{,10}.
Solution: Remove upper limit. Remove dead code with NFA_PLUS.
2013-05-31 23:18:00 +02:00
Bram Moolenaar
4b78063368
updated for version 7.3.1083
...
Problem: New regexp engine: Does not support \%^ and \%$.
Solution: Support matching start and end of file.
2013-05-31 22:14:52 +02:00
Bram Moolenaar
14f55c6f67
updated for version 7.3.1082
...
Problem: New regexp engine: Problem with \@= matching.
Solution: Save and restore nfa_match.
2013-05-31 21:45:09 +02:00
Bram Moolenaar
99dc19d1cc
updated for version 7.3.1081
...
Problem: Compiler warnings on 64-bit Windows.
Solution: Change variable types. (Mike Williams)
2013-05-31 20:49:31 +02:00
Bram Moolenaar
b06e20e6ba
updated for version 7.3.1078
...
Problem: New regexp engine: \@! doesn't work.
Solution: Implement the negated version of \@=.
2013-05-30 22:44:02 +02:00
Bram Moolenaar
2d5e112284
updated for version 7.3.1076
...
Problem: New regexp engine: \@= and \& don't work.
Solution: Make these items work. Add column info to logging.
2013-05-30 21:42:13 +02:00
Bram Moolenaar
021e147b70
updated for version 7.3.1075
...
Problem: Compiler warning for storing a long_u in an int.
Solution: Declare the number as an int. (Mike Williams)
2013-05-30 19:18:31 +02:00
Bram Moolenaar
16299b57cb
updated for version 7.3.1073
...
Problem: New regexp engine may run out of states.
Solution: Allocate states dynamically. Also make the test report errors.
2013-05-30 18:45:23 +02:00
Bram Moolenaar
4b6ebe6dce
updated for version 7.3.1072
...
Problem: Compiler warning for unitialized variable.
Solution: Initialize it.
2013-05-30 17:49:24 +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
bad704fa04
updated for version 7.3.1055
...
Problem: Negated collection does not match newline.
Solution: Handle newline differently. (Hiroshi Shirosaki)
2013-05-30 11:51:08 +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
75eb1610e1
updated for version 7.3.1037
...
Problem: Look-behind matching is very slow on long lines.
Solution: Add a byte limit to how far back an attempt is made.
2013-05-29 18:45:11 +02:00
Bram Moolenaar
f9e56b2b03
updated for version 7.3.1036
...
Problem: Can't build on HP-UX.
Solution: Give the union a name. (John Marriott)
2013-05-28 22:52:16 +02:00
Bram Moolenaar
51a2983904
updated for version 7.3.1034
...
Problem: New regexp code using strange multi-byte code.
Solution: Use the normal code to advance and backup pointers.
2013-05-28 22:30:35 +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
e0fea9c405
updated for version 7.3.1032
...
Problem: "\ze" is not supported by the new regexp engine.
Solution: Make "\ze" work.
2013-05-27 20:10:50 +02:00
Bram Moolenaar
eb3ecae23a
updated for version 7.3.1031
...
Problem: Compiler warnings for shadowed variable. (John Little)
Solution: Move the variable declarations to the scope where they are used.
2013-05-27 11:22:04 +02:00