This will not only miss non-ascii printing characters, but it's not even much shorter than typing
[[:print:]]
to use the explicit character class. [[:print:]]
to use the explicit character class.I used this once as another safeguard against pushing binary data into the database. It was a poor system to begin with where you even have that possibility... and it happened at least once before the fix and my safeguard was in place.
Email could be an example, I guess, although I haven't worked with it enough to know whether the whole "7-bits only" thing is still an issue these days.