Garry's Mod Wiki

Revision Difference

utf8.charpattern#519672

<cat>libraryfunc</cat> <title>utf8.charpattern</title> # Not a function This is NOT a function, it's the <page text="pattern">Patterns</page> (a string, not a function) ``` "[%z\x01-\x7F\xC2-\xF4][\x80-\xBF]*" ``` which matches exactly one UTF-8 byte sequence, assuming that the subject is a valid UTF-8 string.