regexp: Fix -indices in the utf-8 case