Skip to content

Commit

Permalink
Add hyphen-minus
Browse files Browse the repository at this point in the history
  • Loading branch information
tyxla committed Apr 22, 2024
1 parent 7fd5a36 commit 5431024
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/components/src/utils/strings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import { paramCase } from 'change-case';

const ALL_UNICODE_DASH_CHARACTERS = new RegExp(
`[${ [
// - (hyphen-minus)
'\u002d',
// ~ (tilde)
'\u007e',
// ­ (soft hyphen)
Expand Down

0 comments on commit 5431024

Please sign in to comment.