Skip to content

Commit 3964364

Browse files
Fix docs markup.
1 parent 53aa233 commit 3964364

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

Doc/howto/regex.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -739,10 +739,10 @@ given location, they can obviously be matched an infinite number of times.
739739
may match at any location inside the string that follows a newline character.
740740

741741
``\z``
742-
``\Z``
743742
Matches only at the end of the string.
744-
``\z`` is a newer and more portable variant.
745-
``\Z`` is only needed for compatibility with old Python versions.
743+
744+
``\Z``
745+
The same as ``\z``. For compatibility with old Python versions.
746746

747747
``\b``
748748
Word boundary. This is a zero-width assertion that matches only at the

Doc/library/re.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -665,10 +665,10 @@ character ``'$'``.
665665
single: \Z; in regular expressions
666666

667667
``\z``
668-
``\Z``
669668
Matches only at the end of the string.
670-
``\z`` is a newer and more portable variant.
671-
``\Z`` is only needed for compatibility with old Python versions.
669+
670+
``\Z``
671+
The same as ``\z``. For compatibility with old Python versions.
672672

673673
.. index::
674674
single: \a; in regular expressions

0 commit comments

Comments
 (0)