Skip to content

Commit d9b88b9

Browse files
Move the directive.
1 parent cd99209 commit d9b88b9

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

Doc/library/re.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -667,6 +667,8 @@ character ``'$'``.
667667
``\z``
668668
Matches only at the end of the string.
669669

670+
.. versionadded:: next
671+
670672
``\Z``
671673
The same as ``\z``. For compatibility with old Python versions.
672674

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

718-
.. versionchanged:: next
719-
The ``'\z'`` escape sequence has been added.
720-
721720

722721
.. _contents-of-module-re:
723722

0 commit comments

Comments
 (0)