You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reports Pattern not found, and one needs: (*UTF)St.p instead of just St.p as the regexp when matching UTF-8 encoded text.
According to NEWS, PCRE2 support was added at the same time as those PCRE_UTF8 flags were added to PCRE, which seems odd to me. Why not add it for both PCRE and PCRE2 at the time?
It seems to me the fix should just be a matter of:
PCRE regexp support had:
Meaning regexps would work properly at matching UTF-8 encoded text in UTF-8 locales, but with PCRE2 (with
less
built with--with-regex=pcre2
)Reports
Pattern not found
, and one needs:(*UTF)St.p
instead of justSt.p
as the regexp when matching UTF-8 encoded text.According to
NEWS
, PCRE2 support was added at the same time as thosePCRE_UTF8
flags were added to PCRE, which seems odd to me. Why not add it for both PCRE and PCRE2 at the time?It seems to me the fix should just be a matter of:
To do the same like with PCRE.
The text was updated successfully, but these errors were encountered: