this is better written as one group `/[a-zA-Z_0-9\$\-\u007F-\uffff]/`