Closed alazifk closed 3 years ago
Which version of PCRE2 are you using? This option was introduced in 10.30 and it seems to be working fine:
$ pcre2test zz PCRE2 version 10.37 2021-05-26 /abcd/endanchored 1234abcd 0: abcd abcd1234 No match
10.10, my bad, I must have cloned the luvit repository instead of yours. Thank you for the help.
Hello,
the docs say matching has the following option flag:
PCRE2_ENDANCHORED Pattern can match only at end of subject
but it seems to be undefined. PCRE2_ANCHORED on the other hand works as expected, so I wanted to check if this is a known issue.