You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the case string has some unicode symbols the src/.internal/unicodeWords.ts counts all punctuation symbols as separator, even if it followed by \ufe0f for example, which could be used as an indication of emoji, but not punctuation
So
words('abc!def')// ['abc', 'def'] as expectedwords('abc\u203c\ufe0fdefdef')// actual ['abc', 'def'], expected ['abc', '\u203c\ufe0f', 'def'], same as other emojis
Please let me know if you have no concerns about expected result, so I could create a PR with the fix
The text was updated successfully, but these errors were encountered:
For the case string has some unicode symbols the src/.internal/unicodeWords.ts counts all punctuation symbols as separator, even if it followed by \ufe0f for example, which could be used as an indication of emoji, but not punctuation
So
Please let me know if you have no concerns about expected result, so I could create a PR with the fix
The text was updated successfully, but these errors were encountered: