Greetings,
Came across this the today which I cannot explain:
'xx,yy' -notmatch '^[~0-9a-zA-Z _\(\)-]+$' returns true whereas
'xx,yy' -notmatch '^[0-9a-zA-Z _\(\)-~]+$' returns false
All I did was move the tilde from the beginning to the end of the list of chars.
Cheers
David Z