Staticsยง
- HTML_
TAG_ ๐REGEX - IETF_
LANGUAGE_ ๐CODE_ REGEX
Functionsยง
- generate_
easily_ writable_ random_ string - generate_
random_ string - is_
ietf_ language_ code_ like - Checks whether the string is IETF language code where subtags are separated with underscore.
- strip_
html_ tags - Removes all HTML tags from the input, leaving only the text content.
- truncate_
utf8_ at_ boundary - Truncates UTF-8 text to a max byte length at a valid char boundary.