Move this definition outside constructor. Make it a private static field. Check regex string for errant characters