I just want to know how the if __matches__
block works.
I already know about [0-9;aA-zZ], but is there any way to make sure it doesn’t include a certain letter, without making it this long; [0-9;aA-fF;G;hH-zZ]?
6 Likes
First post
1 Like
Yes, regex supports inverted character sets, meaning the expression [^a]
will match any character except a
(or A
since it is not case sensitive as of now).
[^TEST]
matches any one character except T
, E
, S
1 Like
Thank you.
1 Like
Wait, does regex support matches blocks?
Match blocks support regex
2 Likes