Christian Brabandt
360da40b47
patch 8.2.4978: no error if engine selection atom is not at the start
...
Problem: No error if engine selection atom is not at the start.
Solution: Give an error. (Christian Brabandt, closes #10439 )
2022-05-18 15:04:02 +01:00
Bram Moolenaar
72bb10df1f
patch 8.2.4693: new regexp does not accept pattern "\%>0v"
...
Problem: new regexp does not accept pattern "\%>0v".
Solution: Do accept digit zero.
2022-04-05 14:00:32 +01:00
Bram Moolenaar
91ff3d4f52
patch 8.2.4688: new regexp engine does not give an error for "\%v"
...
Problem: New regexp engine does not give an error for "\%v".
Solution: Check for a value argument. (issue #10079 )
2022-04-04 18:32:32 +01:00
Bram Moolenaar
b55986c52d
patch 8.2.4646: using buffer line after it has been freed
...
Problem: Using buffer line after it has been freed in old regexp engine.
Solution: After getting mark get the line again.
2022-03-29 13:24:58 +01:00
Dominique Pelle
81b573d7e5
patch 8.2.4611: typos in tests; one lua line not covered by test
...
Problem: Typos in tests; one lua line not covered by test.
Solution: Fix typos. Add test case. (Dominique Pellé, closes #9994 )
2022-03-22 21:14:55 +00:00
Dominique Pelle
8bfa0eb863
patch 8.2.3982: some lines of code not covered by tests
...
Problem: Some lines of code not covered by tests.
Solution: Add a few more test cases. (Dominique Pellé, closes #9453 )
2022-01-02 16:16:33 +00:00
Bram Moolenaar
94f3192b03
patch 8.2.3950: going beyond the end of the line with /\%V
...
Problem: Going beyond the end of the line with /\%V.
Solution: Check for valid column in getvcol().
2021-12-30 15:29:18 +00:00
Bram Moolenaar
4c13e5e676
patch 8.2.3949: using freed memory with /\%V
...
Problem: Using freed memory with /\%V.
Solution: Get the line again after getvvcol().
2021-12-30 14:49:43 +00:00
Bram Moolenaar
64066b9acd
patch 8.2.3612: using freed memory with regexp using a mark
...
Problem: Using freed memory with regexp using a mark.
Solution: Get the line again after getting the mark position.
2021-11-17 18:22:56 +00:00
Bram Moolenaar
04db26b360
patch 8.2.3110: a pattern that matches the cursor position is complicated
...
Problem: A pattern that matches the cursor position is bit complicated.
Solution: Use a dot to indicate the cursor line and column. (Christian
Brabandt, closes #8497 , closes #8179 )
2021-07-05 20:15:23 +02:00
Bram Moolenaar
a2b3e7dc92
patch 8.2.2656: some command line arguments and regexp errors not tested
...
Problem: Some command line arguments and regexp errors not tested.
Solution: Add a few test cases. (Dominique Pellé, closes #8013 )
2021-03-26 17:24:34 +01:00
Bram Moolenaar
a7a691cc14
patch 8.2.2121: internal error when using \ze before \zs in a pattern
...
Problem: Internal error when using \ze before \zs in a pattern.
Solution: Check the end is never before the start. (closes #7442 )
2020-12-09 16:36:04 +01:00
Bram Moolenaar
6d91bcb4d2
patch 8.2.1432: various inconsistencies in test files
...
Problem: Various inconsistencies in test files.
Solution: Add modelines where they were missing. Use Check commands instead
of silently skipping over tests. Adjust indents and comments.
(Ken Takata, closes #6695 )
2020-08-12 18:50:36 +02:00
Bram Moolenaar
9b7bf9e98f
patch 8.2.1183: assert_fails() checks the last error message
...
Problem: assert_fails() checks the last error message.
Solution: Check the first error, it is more relevant. Fix all the tests
that rely on the old behavior.
2020-07-11 22:14:59 +02:00
Bram Moolenaar
004a6781b3
patch 8.2.0540: regexp and other code not tested
...
Problem: Regexp and other code not tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5904 )
2020-04-11 17:09:31 +02:00
Bram Moolenaar
4d23c52824
patch 8.2.0535: regexp patterns not fully tested
...
Problem: Regexp patterns not fully tested.
Solution: Add more regexp tests and others. (Yegappan Lakshmanan,
closes #5901 )
2020-04-09 18:42:11 +02:00
Bram Moolenaar
5feabe00c4
patch 8.2.0183: tests fail when the float feature is disabled
...
Problem: Tests fail when the float feature is disabled.
Solution: Skip tests that don't work without float support.
2020-01-30 18:24:53 +01:00
Bram Moolenaar
f9cb05c147
patch 8.2.0010: test64 is old style
...
Problem: Test64 is old style.
Solution: Convert to new style test. (Yegappan Lakshmanan, closes #5363 )
2019-12-15 13:39:22 +01:00
Bram Moolenaar
38f08e76ac
patch 8.1.0958: compiling weird regexp pattern is very slow
...
Problem: Compiling weird regexp pattern is very slow.
Solution: When reallocating post list increase size by 50%. (Kuang-che Wu,
closes #4012 ) Make assert_inrange() accept float values.
2019-02-20 22:04:32 +01:00
Bram Moolenaar
a5483448cb
patch 8.1.0945: internal error when using pattern with NL in the range
...
Problem: Internal error when using pattern with NL in the range.
Solution: Use an actual newline for the range. (closes #3989 ) Also fix
error message. (Dominique Pelle)
2019-02-17 20:17:02 +01:00
Bram Moolenaar
f1b57ab2ab
patch 8.1.0937: invalid memory access in search pattern
...
Problem: Invalid memory access in search pattern. (Kuang-che Wu)
Solution: Check for incomplete collation element. (Dominique Pelle,
closes #3985 )
2019-02-17 13:53:34 +01:00
Bram Moolenaar
8bfd9469ce
patch 8.1.0935: old regexp engine may use invalid buffer
...
Problem: Old regexp engine may use invalid buffer for 'iskeyword' or
uninitialized buffer pointer. (Kuang-che Wu)
Solution: Set rex.reg_buf when compiling the pattern. (closes #3972 )
2019-02-16 18:07:57 +01:00
Bram Moolenaar
985079c514
patch 8.1.0934: invalid memory access in search pattern
...
Problem: Invalid memory access in search pattern. (Kuang-che Wu)
Solution: Check for incomplete equivalence class. (closes #3970 )
2019-02-16 17:07:47 +01:00
Bram Moolenaar
15bbd6ec87
patch 8.1.0910: crash with tricky search pattern
...
Problem: Crash with tricky search pattern. (Kuang-che Wu)
Solution: Check for runnning out of memory. (closes #3950 )
2019-02-13 20:31:50 +01:00
Bram Moolenaar
5567ad48b6
patch 8.1.0905: complicated regexp causes a crash
...
Problem: Complicated regexp causes a crash. (Kuang-che Wu)
Solution: Limit the recursiveness of addstate(). (closes #3941 )
2019-02-12 23:05:46 +01:00
Bram Moolenaar
6057ed4720
patch 8.1.0751: some regexp errors are not tested
...
Problem: Some regexp errors are not tested.
Solution: Add a test function.
2019-01-14 23:19:29 +01:00
Bram Moolenaar
1ef9bbe215
patch 8.0.0645: no error for illegal back reference in NFA engine
...
Problem: The new regexp engine does not give an error for using a back
reference where it is not allowed. (Dominique Pelle)
Solution: Check the back reference like the old engine. (closes #1774 )
2017-06-17 20:08:20 +02:00
Bram Moolenaar
16b3578f35
patch 7.4.2355
...
Problem: Regexp fails to match when using "\>\)\?". (Ramel)
Solution: When a state is already in the list, but addstate_here() is used
and the existing state comes later, add the new state anyway.
2016-09-09 20:29:50 +02:00
Bram Moolenaar
d563883a1f
patch 7.4.2354
...
Problem: The example that explains nested backreferences does not work
properly with the new regexp engine. (Harm te Hennepe)
Solution: Also save the end position when adding a state. (closes #990 )
2016-09-09 17:59:50 +02:00
Bram Moolenaar
9e4d8215d3
patch 7.4.2228
...
Problem: Test files have inconsistant modelines.
Solution: Don't set 'tabstop' to 2, use 'sts' and 'sw'.
2016-08-18 23:04:48 +02:00
Bram Moolenaar
f5a39447a8
patch 7.4.2219
...
Problem: Recursive call to substitute gets stuck in sandbox. (Nikolai
Pavlov)
Solution: Handle the recursive call. (Christian Brabandt, closes #950 )
Add a test.
2016-08-16 21:04:41 +02:00
Bram Moolenaar
22e421549d
patch 7.4.1700
...
Problem: Equivalence classes are not properly tested.
Solution: Add tests for multi-byte and latin1. Fix an error. (Owen Leibman)
2016-04-03 14:02:02 +02:00