SIGN IN SIGN UP

gh-133306: Support \z as a synonym for \Z in regular expressions (GH-133314)

\Z was an error inherited from PCRE 0.95. It was fixed in PCRE 2.0.
In other engines, \Z means not “anchor at string end”, but
“anchor before optional newline at string end”.

\z means “anchor at string end” in most RE engines.
S
Serhiy Storchaka committed
ac56f8cc8d36ed65228d7eaa245569f66ad16d2b
Parent: fe44fc4
Committed by GitHub <noreply@github.com> on 5/3/2025, 7:54:33 AM