Last active
March 9, 2024 09:02
-
-
Save wmakeev/cf47baf0a9b6e4e4ca21acbfd6a17c02 to your computer and use it in GitHub Desktop.
[unicode] #unicode #regex #space
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://jkorpela.fi/chars/spaces.html | |
export const UNICODE_SPACES_REGEX = | |
/[\u00A0\u180E\u2000-\u200B\u202F\u205F\u3000\uFEFF]/gm; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment