skipnothing/Regex Engines
UNIT 05

Beyond ASCII

Unicode properties, grapheme clusters, normalization, the multi-codepoint character

ASCII regex assumes one byte equals one character. Unicode breaks that everywhere: combining marks, surrogate pairs, grapheme clusters that span codepoints. This unit shows what \w actually matches when the input isn't English.

Loading…
TOPICS
All units