Quick bug squash. Shadowing the regex name caused data-access issues

Shadowing the regex array created bugs