diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2025-05-03 10:54:33 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-03 07:54:33 +0000 |
commit | ac56f8cc8d36ed65228d7eaa245569f66ad16d2b (patch) | |
tree | df55479b804c88943859cbec21bf7b68d8be649c /Lib/platform.py | |
parent | fe44fc4f4351bb4b457c01d94b4ae8b9eda501aa (diff) | |
download | cpython-ac56f8cc8d36ed65228d7eaa245569f66ad16d2b.tar.gz cpython-ac56f8cc8d36ed65228d7eaa245569f66ad16d2b.zip |
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.
Diffstat (limited to 'Lib/platform.py')
0 files changed, 0 insertions, 0 deletions