Support for a list of uppercase words
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
titlecase |
New
|
Undecided
|
Unassigned |
Bug Description
I'm using this code on my site, and I need a way of keeping certain words uppercase. We added this support to an older version of titlecase, but now that there have been major updates, we find ourselves busy updating our code again.
I believe the following lines would add support for it:
# at the top under the SMALL variable:
BIG = 'USA|FCC|
# in the regex list at the top
BIG_WORDS = re.compile(
# down under the SMALL_WORDS conditional
if BIG_WORDS.
It would be fantastic if these or similar lines could be added, since I imagine most people using this will have some things they want capitalized properly.
(sorry for no patch - hopefully this is good enough)
description: | updated |