stdlib icon indicating copy to clipboard operation
stdlib copied to clipboard

Bug with skin tone emojis when using `prevGraphemeClusterBreak` package

Open steff456 opened this issue 1 year ago • 0 comments

There's an issue with prevGraphemeClusterBreak package, if I compare the results with nextGraphemeClusterBreak for a single skin tone emoji it doesn't return the same values,

prevGraphemeClusterBreak( '👉🏿' ) // returns 1
nextGraphemeClusterBreak( '👉🏿' ) // returns -1

Originally posted by @steff456 in https://github.com/stdlib-js/stdlib/pull/1079#discussion_r1306328286

steff456 avatar Aug 26 '23 05:08 steff456