fix locale regex