[Regexp] now implements the [encoding.TextAppender] interface.