Nothing Special   »   [go: up one dir, main page]

Garry's Mod Wiki

utf8.charpattern

  string utf8.charpattern

Description

This is NOT a function, it's a pattern (a string, not a function) which matches exactly one UTF-8 byte sequence, assuming that the subject is a valid UTF-8 string.

Returns

1 string
"[%z\x01-\x7F\xC2-\xF4][\x80-\xBF]*"