From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 23 Oct 2023 08:11:41 +0000 (+0200) Subject: [3.12] gh-110383: Italicize variable name (GH-111206) (#111207) X-Git-Tag: v3.12.1~240 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4d781bce2704f32b2ff4ddb0f7d97701a565b3e6;p=thirdparty%2FPython%2Fcpython.git [3.12] gh-110383: Italicize variable name (GH-111206) (#111207) Co-authored-by: Nick --- diff --git a/Doc/howto/regex.rst b/Doc/howto/regex.rst index 15372e74d6fe..5e2f9a9d1837 100644 --- a/Doc/howto/regex.rst +++ b/Doc/howto/regex.rst @@ -245,7 +245,7 @@ You can omit either *m* or *n*; in that case, a reasonable value is assumed for the missing value. Omitting *m* is interpreted as a lower limit of 0, while omitting *n* results in an upper bound of infinity. -The simplest case ``{m}`` matches the preceding item exactly **m** times. +The simplest case ``{m}`` matches the preceding item exactly *m* times. For example, ``a/{2}b`` will only match ``'a//b'``. Readers of a reductionist bent may notice that the three other quantifiers can