Revision Difference
utf8.charpattern#553313
<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) ⤶
⤶
```⤶
<function name="charpattern" parent="utf8" type="libraryfield">⤶
<description>⤶
This is NOT a function, it's a <page text="pattern">Patterns</page> (a string, not a function) which matches exactly one UTF-8 byte sequence, assuming that the subject is a valid UTF-8 string.⤶
</description>⤶
<realm>Client and Menu</realm>⤶
<rets>⤶
<ret name="" type="string">⤶
```⤶
"[%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.⤶
⤶
⤶
⤶
⤶
⤶
</ret>⤶
</rets>⤶
</function>⤶