diff options
| author | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2026-06-28 17:30:15 +0200 |
|---|---|---|
| committer | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2026-06-28 17:30:15 +0200 |
| commit | f08dea5fead2f9ef9e0fa114b2e09aa94908d629 (patch) | |
| tree | 5b5ed27631fb96930121fcfbe9f271a91e64e05d /tests/testsuite.at | |
| parent | baf4c173aafc0f225d5eda1f4f4db3d92db02f0e (diff) | |
fixed block-wise backwards searches
The calculation of the block start was faulty and could cause underflows
resulting in unpredictable behavior.
Diffstat (limited to 'tests/testsuite.at')
| -rw-r--r-- | tests/testsuite.at | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/testsuite.at b/tests/testsuite.at index 98425d1..0f7e32b 100644 --- a/tests/testsuite.at +++ b/tests/testsuite.at @@ -537,6 +537,7 @@ TE_CHECK([[100000<@I"^J">J @S"^EM^X"]], 0, ignore, ignore) AT_CLEANUP AT_SETUP([Block-wise backwards search]) +TE_CHECK([[@I/ABCD/ -:@S/A/"F(0/0)']], 0, ignore, ignore) # Failed when using GRegex (PCRE), which had broken support for partial matches. # This is not an issue with terex. TE_CHECK([[2,8EJ @I/ABCD/ -:@S/BC/"F(0/0)' .-3"N(0/0)' ^S+2"N(0/0)']], 0, ignore, ignore) |
