unicode-rs / unicode-segmentation

Grapheme Cluster and Word boundaries according to UAX#29 rules
https://unicode-rs.github.io/unicode-segmentation
Other
571 stars 56 forks source link

Fix example in README.md #117

Closed denizdogan closed 1 year ago

denizdogan commented 1 year ago

The example in README.md seems incorrect.

Manishearth commented 1 year ago

No, that's correct.

denizdogan commented 1 year ago

@Manishearth Fair enough, it failed when I tried running it though.

Manishearth commented 1 year ago

Oh, huh, you're right. I was under the impression spaces got separated by the spec but I guess not

denizdogan commented 1 year ago

Heheh, I restored my branch in case you'd like to merge it, either way, hope I helped :)

Manishearth commented 1 year ago

Oh i just fixed it directly in the readme since the branch was deleted, but thanks!