isAsciiPunctuation function
Whether unit is ASCII punctuation — the set a backslash can escape.
Implementation
bool isAsciiPunctuation(int unit) =>
(unit >= 0x21 && unit <= 0x2F) ||
(unit >= 0x3A && unit <= 0x40) ||
(unit >= 0x5B && unit <= 0x60) ||
(unit >= 0x7B && unit <= 0x7E);