Add reps and outreps regex validity check. Fixes #575.
Merge pull request #577 from zeird/fix575

Add reps and outreps regex validity check. Fixes #575.