CAS-1337: Improve pattern to detect unprintable characters

Conventional non-printable characters also include 0x1A - 0x1F.