Encoding for regex fixed.