Garry's Mod Wiki

Revision Difference

utf8/charpattern#517543

# Not a function This is NOT a function, it's the [pattern](/gmod/Patterns) (a string, 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.