←back to thread

71 points zobweyt | 3 comments | | HN request time: 0s | source
1. twalkz ◴[] No.43553109[source]
I am really impressed by how thoroughly this library thinks through all the applications and edge cases of text casing.

On a recent project I spent about an hour trying to do something similar (and far less sophisticated) before I realized it was a problem I had no desire in really solving, so I backed out all my changes and just went with string.capitalize(), even though it didn’t really do what I was looking for. Looking forward to using this instead!

replies(1): >>43553204 #
2. zobweyt ◴[] No.43553204[source]
Thank you for the kind words! I'm glad you appreciate the effort put into covering all those edge cases.

It sounds like you had quite the adventure with text casing on your project. I'm happy this library can save you some time and hassle. Looking forward to see what can be built with it!

replies(1): >>43553368 #
3. Rendello ◴[] No.43553368[source]
Many edge-cases can be found with regards to casing! Like title-case characters.

https://www.unicode.org/versions/Unicode16.0.0/core-spec/cha...