Is there a way match all ASCII characters with POSIX extended regexp? [[:ascii:]] is not available in POSIX ERE.
[[:ascii:]]
You can compose a character class with [:print:] ([\x20-\x7E]) and [:cntrl:] ([\x00-\x1F\x7F]):
[:print:]
[\x20-\x7E]
[:cntrl:]
[\x00-\x1F\x7F]
[[:print:][:cntrl:]]