Check char range

by Ricardo “Rudxain” Fernández Serrata

Version 1 (September 26, 2023)

Download (41 downloads)

Check if text is valid ASCII or if it has surrogate pairs. Helpful to protect against phishing URLs and fingerprinted text, because it allows you to ensure no chars are "disguised".

If you're a flow developer, you can CP📋 the expressions used here, to perform input validation.

I used possessive quantifiers in the regex for better performance.

"Print" POSIX Char Class isn't 7b ASCII, on old Androids (this was a bug): groups.google.com/g/automate-user/c/-Tuegbe5DU8

Tags: zero-width confusable Unicode

Rudxain profile: llamalab.com/automate/community/flows/42921

LICENSE: https://unlicense.org

3.0 average rating from 1 reviews

5 stars
0
4 stars
0
3 stars
1
2 stars
0
1 star
0
Reports
0

Rate and review within the app in the Community section.