Support UTF-8 characters as word delimiters
authorJan Christoph Ebersbach <jceb@e-jc.de>
Fri, 22 May 2015 14:06:57 +0000 (16:06 +0200)
committerRoberto E. Vargas Caballero <k0ga@shike2.com>
Mon, 25 May 2015 06:35:32 +0000 (08:35 +0200)
commitcaa97cc781ccf29f28c3d9e6683a66eb3f70e2bd
tree98a9dcd8e25fee71514f2a786fdaa785a1aea4bd
parentc03548750b2527a6ddb5edfd945c5799066a6224
Support UTF-8 characters as word delimiters

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.
st.c