Add validation on java regex before simulation startup Closes #774