# Proposal: add \\z as a synonym for \\Z in Python REs for standardization

**URL:** <https://discuss.python.org/t/proposal-add-z-as-a-synonym-for-z-in-python-res-for-standardization/90378>\
**Category:** Ideas\
**Created:** [May 1, 2025, 6:14pm UTC](https://discuss.python.org/t/proposal-add-z-as-a-synonym-for-z-in-python-res-for-standardization/90378 "2025-05-01T18:14:04Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![collinfunk](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/collinfunk/32/18160_2.png) [@collinfunk](https://discuss.python.org/u/collinfunk)\
**Post date:** [May 2, 2025, 6:26pm UTC](https://discuss.python.org/t/proposal-add-z-as-a-synonym-for-z-in-python-res-for-standardization/90378/11 "2025-05-02T18:26:14Z")

</div>

I sent a message on the bug report, but think that it is worth mentioning here too. There is a discussion on the glibc mailing list about what syntax should be standardized taking into account existing implementations [1]. I think that discussion should be resolved before changing anything.

[1] [[PATCH] regex: Add \A and \z synonyms to \` and \'](https://inbox.sourceware.org/libc-alpha/d357ebe7-9aef-41f7-98da-5fa891f8064a@cs.ucla.edu/T/#m6dcdfc0466b896647fce7be5569d8d39af797125)

---

_[View the full topic](https://discuss.python.org/t/proposal-add-z-as-a-synonym-for-z-in-python-res-for-standardization/90378)._
