Optimized Regex object creation