aboutsummaryrefslogtreecommitdiff
path: root/vendor/librune/man
diff options
context:
space:
mode:
authorThomas Voss <thomas.voss@humanwave.nl> 2026-03-19 16:37:58 +0100
committerThomas Voss <thomas.voss@humanwave.nl> 2026-03-19 16:37:58 +0100
commitac56f0167d0e26c35adc4639015e0cbbeecf6262 (patch)
treea376eb7a1bd3052737420e668c216a5ac5f77cf8 /vendor/librune/man
parent19e2b9bc23e71ccafdd754686d4881058b8a1fb5 (diff)
Fix pattern matching on anchorsHEADmaster
The previous code would find all matches by searching for a match, chopping it off of the string view, and then matching again in a loop. This caused bugs with anchors such as ^, because x/^a/ would match *every* instance of ‘a’ instead of just ‘a’s at the start of the matching context. This PR switches the matching engine to use the offset parameter of pcre2_jit_match() to correctly handle anchors.
Diffstat (limited to 'vendor/librune/man')
0 files changed, 0 insertions, 0 deletions