diff options
author | Zufu Liu <unknown> | 2023-12-14 14:44:11 +1100 |
---|---|---|
committer | Zufu Liu <unknown> | 2023-12-14 14:44:11 +1100 |
commit | 361218f4984d429c1a518cb1dbd94612eab0ecaa (patch) | |
tree | 4efa7cfc7b09022b9419aae013de5aa28bbb5278 /test | |
parent | 108dbd549a2a7e17b744d13b451c0a18503b4480 (diff) | |
download | scintilla-mirror-361218f4984d429c1a518cb1dbd94612eab0ecaa.tar.gz |
Bug [#2405]. Fix regular expression bug in reverse direction where shortened
match returned.
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/testDocument.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/testDocument.cxx b/test/unit/testDocument.cxx index 52af45167..ba7bb8616 100644 --- a/test/unit/testDocument.cxx +++ b/test/unit/testDocument.cxx @@ -517,7 +517,7 @@ TEST_CASE("Document") { REQUIRE(substituted == "\tb\xCE\x93y\n"); match = doc.FindString(docLength, 0, longest, rePosix); - //REQUIRE(match == Match(16, 5)); + REQUIRE(match == Match(16, 5)); #ifndef NO_CXX11_REGEX match = doc.FindString(0, docLength, finding, reCxx11); |