Updates build system and format strings to the 0.15 standard.
Unclaimed project
Are you a maintainer of mvzr? Claim this project to take control of your public changelog and roadmap.
Updates build system and format strings to the 0.15 standard.
Mvzr did not originally account for the case of matching a zero-length
string, at all. While it was unclear to me what the semantics of word-
break or not-word-break should even be, PCRE2 thinks neither match an
empty string. So now mvzr doesn't either, and also, doesn't try to
read a character from a string which doesn't have one.
A recently implemented opcode used for efficiency in {N,M} type
patterns, was returning the index 0 for a null match, instead of
the index it was testing. This would result in an invalid slice
when creating the match object. No longer.
This special case was not handled correctly in the dispatch loop. This has been corrected.
Fixup on build.zig.zon to follow the new conventions.