Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Conversation

@meChrisReed
Copy link

Simplified the word delineating regex, and added support for camelCase, kebab-case, ACRONYMCase.

Added word boundaries.
Removed extra capture group.

…e, kebab-case, ACRONYMCase.

Added word boundaries.
Removed extra capture groups.
@kevinsawicki
Copy link
Contributor

Sorry for the long delay in reviewing this. Can you explain a little further, perhaps with screenshots of examples, about what this now marks misspellings for that it didn't before.

I just want to be extra careful about changing this word regex and make sure this is improving the experience.

Also, would you be able to add some new specs as well to cover these additional cases?

@meChrisReed
Copy link
Author

old

Before the change you can see the camelCase words as well as capitalCASE words are found to be spelled incorrectly. The incorrectly spelled underscore_words are found to be correct.

new

after the change the camelCase and capitalCASE words are found to be spelled correctly and the incorrect underscore words are found to be incorrect.

@kevinsawicki This is ready for review.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants