From 77891cedaeeb9283793c34b231d8d8c4f19002de Mon Sep 17 00:00:00 2001 From: Clay Sweetser Date: Sun, 31 Jul 2022 23:24:14 -0400 Subject: Fix "Add Wider Ascii Chars sets and func for string formatting" (#20120) --- lib/pure/strutils.nim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/pure/strutils.nim') 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. ## -- cgit 1.4.1-2-gfad0