made regex special char escapes optional and assigned by calling function, speedup x 2 - 3