Skip to content

Commit

Permalink
Try with more characters
Browse files Browse the repository at this point in the history
  • Loading branch information
tyxla committed Apr 22, 2024
1 parent 5431024 commit 2e0e7e0
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions packages/components/src/utils/strings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2e0e7e0

Please sign in to comment.