Corrected RegEx object creation