<i>Add support for \z in regex as end-of-string anchor</i> status still Open with 3 other changes
by
.
D 2026-09-20T11:23:12.671
J icomment Status:\sPython\s3.14\sadded\s<tt>\\z</tt>\sas\sa\ssynonym\sfor\s<tt>\\Z</tt>\s([https://github.com/python/cpython/issues/133306|python/cpython#133306])\sand\sits\sstandard\slibrary\snow\suses\s<tt>\\z</tt>;\sthe\sAustin\sGroup\saccepted\s<tt>\\A</tt>\sand\s<tt>\\z</tt>\sfor\sPOSIX\sEREs.\sTcl's\s<tt>\\Z</tt>\salready\shas\sthe\s<tt>\\z</tt>\ssemantics\s(it\snever\smatches\sbefore\sa\strailing\snewline),\sso\sthe\ssynonym\sis\sexact.\n\nThe\sbranch\s[31c03110d4]\smerges\scleanly\sonto\sthe\scurrent\smain\sand\spasses\sthe\sregexp\stests.\sTwo\sremarks\sbefore\smerging:\sthe\stests\sshould\sadd\s<tt>\\z</tt>\scases\srather\sthan\sreplace\sthe\s<tt>\\Z</tt>\sones\s(which\slose\scoverage),\sand\sre_syntax.n\sshould\slist\s<tt>\\z</tt>\samong\sthe\sconstraint\sescapes\s(the\s<tt>.IP</tt>\sentry\sfrom\sthe\soriginal\spatch),\snot\sonly\sin\sthe\sMATCHING\ssection.\sCan\sthis\sgo\sinto\s9.1?
J login serhiy.storchaka
J mimetype text/x-fossil-wiki
K fbc56b259e989230e54a4053feeecf7aa765f61d
U serhiy.storchaka
Z fa847977ed27c586467285a60fa61ab8