misspell-fixer
misspell-fixer copied to clipboard
Feature request: Split words by CamelCase
This mostly identical to #34. The current script implementations seems to skip such strings. But a typo can be hidden in the middle of the SomeBigCamelCaseStrng
and nobody can ever notice that :)
Unfortunately both grep and sed define word boundaries (which are a change between word constituent characters (letters, numbers and underscore) and the remaining characters/ends) quite strictly. Both this and #34 would require
- redefining the word boundaries in these tools
- or pre/post processing the inputs to split words at case change and at underscores to let the tools catch them
- or use different solution.
So none of them are really straightforward. :-( The pre/post processing looks the most viable, but it still may have a huge negative impact on performance. I'll keep this issue in mind, but it is unlikely that it gets solves in the near future.