diff options
author | Mathias Stearn <redbeard0531@gmail.com> | 2018-01-06 09:08:58 -0500 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-01-06 15:08:58 +0100 |
commit | 9bc263839904787e68602dc55ddbd9832c1066b6 (patch) | |
tree | b11348814319537be9749b69776f0a8a9d32a72c | |
parent | 6ca563dd2e6380e4e2062b9129f582a4910baf68 (diff) | |
download | Nim-9bc263839904787e68602dc55ddbd9832c1066b6.tar.gz |
Fix typos in scanf docs (#7035)
-rw-r--r-- | lib/pure/strscans.nim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/pure/strscans.nim b/lib/pure/strscans.nim index 42bb281eb..83a82dd0b 100644 --- a/lib/pure/strscans.nim +++ b/lib/pure/strscans.nim @@ -31,10 +31,10 @@ As can be seen from the examples, strings are matched verbatim except for 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``. -``$i`` Matches an decimal integer. This uses ``parseutils.parseInt``. -``$h`` Matches an hex integer. This uses ``parseutils.parseHex``. +``$i`` Matches a decimal integer. This uses ``parseutils.parseInt``. +``$h`` Matches a hex integer. This uses ``parseutils.parseHex``. ``$f`` Matches a floating pointer number. Uses ``parseFloat``. ``$w`` Matches an ASCII identifier: ``[A-Z-a-z_][A-Za-z_0-9]*``. ``$s`` Skips optional whitespace. |