astral-regex
Regular expression for matching astral symbols
Found 34 results for surrogate
Regular expression for matching astral symbols
Unicode aware string truncation that given a max byte size will truncate the string to or just below that size
a regular expression that matches all the surrogate pairs and combining-marked characters in a string
Tells, is given character a part of astral character, specifically, a high and low surrogate
Get a UTF-16-encoded code point number of a character
Fastify plugin to disable client-side caching
Get the code points of each character in the string
Test if a position in a string marks the start of a UTF-16 surrogate pair.
Return a Unicode code point from a string at a specified position.
An ESnext spec-compliant `String.prototype.toWellFormed` shim/polyfill/replacement that works as far down as ES3.
Return a Unicode code point from a string at a specified position.
Grapheme cluster break tooling.
Create an iterator which iterates over grapheme clusters.
Return the next extended grapheme cluster break in a string after a specified position.
Get location of code point in a string or get code points from string
Split a string by its grapheme cluster breaks.
Return the number of grapheme clusters in a string.
Return a regular expression to match an unpaired UTF-16 surrogate.
An ESnext spec-compliant `String.prototype.isWellFormed` shim/polyfill/replacement that works as far down as ES3.
Full-featured, testable OOP
Return a regular expression to match a UTF-16 surrogate pair.
Surrogate pair converter with dev-friendly source code.
JavaScript / TypeScript utility to translate mathy Unicode characters to and from LaTeX, Mathematica, Wolfram, Elsevier Grid, etc.
OOP module for Giant
Convert a string to a well formed string.
Test if a position in a string marks the start of a UTF-16 surrogate pair.
Return the number of grapheme clusters in a string.
Return the previous extended grapheme cluster break in a string before a specified position.
Return the next extended grapheme cluster break in a string after a specified position.
Return the position of the next Unicode code point in a string after a specified position.
Return the previous extended grapheme cluster break in a string before a specified position.
Create an iterator which iterates from right to left over grapheme clusters.
Return a Unicode code point from a string at a specified position.
Return the position of the next Unicode code point in a string after a specified position.