Fix problem from bad regexp