Add unit test for RegEx parameter pattern
First subexp param implementation.
Add additional tests