Reuse ValidAccount and change values in test.
Recursively precompile regex patterns.