Fix typos in scanf docs (#7035)
This commit is contained in:
parent
6ca563dd2e
commit
9bc2638399
1 changed files with 3 additions and 3 deletions
|
|
@ -31,10 +31,10 @@ As can be seen from the examples, strings are matched verbatim except for
|
||||||
substrings starting with ``$``. These constructions are available:
|
substrings starting with ``$``. These constructions are available:
|
||||||
|
|
||||||
================= ========================================================
|
================= ========================================================
|
||||||
``$b`` Matches an decimal integer. This uses ``parseutils.parseBin``.
|
``$b`` Matches a binary integer. This uses ``parseutils.parseBin``.
|
||||||
``$o`` Matches an octal integer. This uses ``parseutils.parseOct``.
|
``$o`` Matches an octal integer. This uses ``parseutils.parseOct``.
|
||||||
``$i`` Matches an decimal integer. This uses ``parseutils.parseInt``.
|
``$i`` Matches a decimal integer. This uses ``parseutils.parseInt``.
|
||||||
``$h`` Matches an 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 pointer number. Uses ``parseFloat``.
|
||||||
``$w`` Matches an ASCII identifier: ``[A-Z-a-z_][A-Za-z_0-9]*``.
|
``$w`` Matches an ASCII identifier: ``[A-Z-a-z_][A-Za-z_0-9]*``.
|
||||||
``$s`` Skips optional whitespace.
|
``$s`` Skips optional whitespace.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue