From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 23 Oct 2023 08:11:54 +0000 (+0200) Subject: [3.11] gh-110383: Italicize variable name (GH-111206) (#111208) X-Git-Tag: v3.11.7~144 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0a23960266fe486c53bca9bc569709dacd3e03c2;p=thirdparty%2FPython%2Fcpython.git [3.11] gh-110383: Italicize variable name (GH-111206) (#111208) Co-authored-by: Nick --- diff --git a/Doc/howto/regex.rst b/Doc/howto/regex.rst index 2cc17b4f745c..b69d19e212bd 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