mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-17 00:24:16 +00:00
Fix "Add Wider Ascii Chars sets and func for string formatting" (#20120)
This commit is contained in:
@@ -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.
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user