Fixing bad regexp