typo [backport] (#18967)

This commit is contained in:
flywind 2021-10-07 18:01:27 +08:00 • committed by GitHub
commit f8d6a53227
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,7 +35,7 @@ substrings starting with ``$``. These constructions are available:
``$o`` Matches an octal integer. This uses ``parseutils.parseOct``. ``$o`` Matches an octal integer. This uses ``parseutils.parseOct``.
``$i`` Matches a decimal integer. This uses ``parseutils.parseInt``. ``$i`` Matches a decimal integer. This uses ``parseutils.parseInt``.
``$h`` Matches a hex integer. This uses ``parseutils.parseHex``. ``$h`` Matches a hex integer. This uses ``parseutils.parseHex``.
``$f`` Matches a floating pointer number. Uses ``parseFloat``. ``$f`` Matches a floating-point number. Uses ``parseFloat``.
``$w`` Matches an ASCII identifier: ``[A-Za-z_][A-Za-z_0-9]*``. ``$w`` Matches an ASCII identifier: ``[A-Za-z_][A-Za-z_0-9]*``.
``$c`` Matches a single ASCII character. ``$c`` Matches a single ASCII character.
``$s`` Skips optional whitespace. ``$s`` Skips optional whitespace.