Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Move the directive.
  • Loading branch information
serhiy-storchaka committed May 3, 2025
commit d9b88b9748b414490000e9f83ba30dc971a1e2da
5 changes: 2 additions & 3 deletions Doc/library/re.rst
Original file line number Diff line number Diff line change
Expand Up @@ -667,6 +667,8 @@ character ``'$'``.
``\z``
Matches only at the end of the string.

.. versionadded:: next

``\Z``
The same as ``\z``. For compatibility with old Python versions.

Expand Down Expand Up @@ -715,9 +717,6 @@ three digits in length.
The :samp:`'\\N\\{{name}\\}'` escape sequence has been added. As in string literals,
it expands to the named Unicode character (e.g. ``'\N{EM DASH}'``).

.. versionchanged:: next
The ``'\z'`` escape sequence has been added.


.. _contents-of-module-re:

Expand Down
Loading