python-titlecase
python-titlecase copied to clipboard
Python library to capitalize strings as specified by the New York Times Manual of Style
Is it feasible to offer support for preserving tab characters, the same way you added support for preserving newlines? I often use this script inside of Sublime Text to help...
_The original plan was to lift the regexes directly, but I’d forgotten that Standard Ebooks is a GPL3 codebase, and here is MIT. Obviously we can’t copy everything directly over,...
This potentially changes the output in two ways: 1. We now match (on line 107) any space character rather than just a tab or a space. The test case as...
Might you consider adding BibTeX support? Many people miscapitalize titles in their BibTeX entries. The title is supposed to look like the output of the `titlecase` module, which is why...
At the moment we split words based on tabs or a normal space character. This means that words following a non-breaking space don’t properly get titlecased. Example: ``` >>> from...