Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zero-width character handling #58

Closed
wants to merge 4 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
group digits
  • Loading branch information
r0wanda authored Jun 22, 2024
commit bf96980996b216b8c0f214e75a2a74e13e6a2ba8
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
}

// Ignore zero-width characters
if (codePoint === 0x200B) {
if (codePoint === 0x200_B) {

Check failure on line 37 in index.js

View workflow job for this annotation

GitHub Actions / Node.js 20

Invalid group length in numeric value.

Check failure on line 37 in index.js

View workflow job for this annotation

GitHub Actions / Node.js 18

Invalid group length in numeric value.
continue;
}

Expand Down
Loading