For anyone else wondering about that:

The square brackets are a character class.

^      negates the following characters
space  is the first printable ASCII character (0x20)
-      hyphen for a range
~      is the last printable ASCII character (0x7E)

So find anything not in the range 0x20 to 0x7E.

Cheers


> On 2020-02-24, at 02:35, Kaveh <[email protected]> wrote:
> 
> I replied by email and assumed it would appear here. You could try:
> 
> [^ -~]
> 
> with "grep" switched on. The magic of regex!

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "[email protected]" rather than 
posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/F5FE6BFF-448E-4D4D-BCE6-58CF0057B125%40gmail.com.

Reply via email to