fix bugs: only wildcard and character-class-negation should check to see if curChr is an endmarker

This commit is contained in:
2025-10-07 14:30:23 +01:00
parent c62e234d00
commit 060df2745a
2 changed files with 20 additions and 21 deletions

View File

@@ -92,6 +92,8 @@ struct
if String.size searchString > 0 then search (buffer, searchString)
else PersistentVector.empty
structure DfaGen = CaseInsensitiveDfa
fun rangeLoop
( dfa
, bufferPos