that would also return 1 for mask type 4 :p

a more accurate example would be /^\*!\*@[^*!@]+$/

there's even a non-regex involved method, check if $mask($replace(mask,*,a,?,1),2) == mask. not as strict as the first method since it requires the mask to be valid, still quite usable though


"The only excuse for making a useless script is that one admires it intensely" - Oscar Wilde