Remove use of mbtowcs in hsregex.