diff options
author | Clay Sweetser <Varriount@users.noreply.github.com> | 2022-07-31 23:24:14 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-31 23:24:14 -0400 |
commit | 77891cedaeeb9283793c34b231d8d8c4f19002de (patch) | |
tree | e2f199cbece4dd589239a5faa3bbb6ed138ef85f /lib/pure/strutils.nim | |
parent | 3987a3bf9719362306cb824f99f865da2f59c131 (diff) | |
download | Nim-77891cedaeeb9283793c34b231d8d8c4f19002de.tar.gz |
Fix "Add Wider Ascii Chars sets and func for string formatting" (#20120)
Diffstat (limited to 'lib/pure/strutils.nim')
-rw-r--r-- | lib/pure/strutils.nim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/pure/strutils.nim b/lib/pure/strutils.nim index 9302e9cff..0585b6480 100644 --- a/lib/pure/strutils.nim +++ b/lib/pure/strutils.nim @@ -104,9 +104,6 @@ const PunctuationChars* = {'!'..'/', ':'..'@', '['..'`', '{'..'~'} ## The set of all ASCII punctuation characters. - PrintableChars* = Letters + Digits + PunctuationChars + Whitespace - ## The set of all printable ASCII characters (letters, digits, whitespace, and punctuation characters). - Digits* = {'0'..'9'} ## The set of digits. @@ -123,6 +120,9 @@ const ## The set of characters a newline terminator can start with (carriage ## return, line feed). + PrintableChars* = Letters + Digits + PunctuationChars + Whitespace + ## The set of all printable ASCII characters (letters, digits, whitespace, and punctuation characters). + AllChars* = {'\x00'..'\xFF'} ## A set with all the possible characters. ## |