diff --git a/packages/components/src/utils/strings.ts b/packages/components/src/utils/strings.ts index fcafb8b06a1007..f28c39f88c5984 100644 --- a/packages/components/src/utils/strings.ts +++ b/packages/components/src/utils/strings.ts @@ -12,6 +12,26 @@ const ALL_UNICODE_DASH_CHARACTERS = new RegExp( '\u007e', // ­ (soft hyphen) '\u00ad', + // ֊ (armenian hyphen) + '\u058a', + // ־ (hebrew punctuation maqaf) + '\u05be', + // ᐀ (canadian syllabics hyphen) + '\u1400', + // ᠆ (mongolian todo soft hyphen) + '\u1806', + // ‐ (hyphen) + '\u2010', + // non-breaking hyphen) + '\u2011', + // ‒ (figure dash) + '\u2012', + // – (en dash) + '\u2013', + // — (em dash) + '\u2014', + // ― (horizontal bar) + '\u2015', // ⁓ (swung dash) '\u2053', // ⁻ (superscript minus)