Claude Code v2.1.223 ·
Broader invisible-character detection in text sanitisation
More kinds of hidden and invisible characters are now stripped out of text you paste or read.
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
Text SanitizationArea: what it touches
ImprovementsKind: in v2.1.223,
ImprovementsSection of the release
What
The sanitisation regex now catches more classes of hidden characters in text.
Details
- previously matched only default-ignorable code points
- now also matches control, format, private-use and unassigned categories, plus line and paragraph separators and backslash
Evidence
\p{Default_Ignorable_Code_Point}
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
See this entry in the whole of v2.1.223 →