Get the byte length of an ArrayBuffer, even in engines without a .byteLength
method.
A regex to match any full character, considering weird character ranges.
Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes