unicode.utf8.cfind
This function is similar to unicode.utf8.find
, except that it treats the input offset and returns the output offset in characters rather than bytes. “Positional captures” are still returned in bytes.
This function is similar to unicode.utf8.find
, except that it treats the input offset and returns the output offset in characters rather than bytes. “Positional captures” are still returned in bytes.