remove extraneous use statement
allow numbers in regex variable names and update tests
allow use of $ in variable names and update tests