For a higher usefulness of the utf8strchr function, the index of the
UTF-8 character could be returned in addition with a Rune instead of a
char*. Since utf8strchr is currently only used by ISDELIM I didn't
bother to increase the complexity.
master
Jan Christoph Ebersbach10 years agocommitted byRoberto E. Vargas Caballero