intellij-community icon indicating copy to clipboard operation
intellij-community copied to clipboard

Fix spell check warnings in hexadecimal colour strings

Open samofcorinth opened this issue 4 years ago • 0 comments

Previously, strings such as "#33FFFF" would trigger typo warnings, since the regular expression used to split the word would detect "FFFF" as a word; more generally, unless the "#" were to be followed by a letter, the hex string would be split between the last number and the first letter, triggering a spell check on the letters. This pull request corrects the regular expressions used to split words.

I've updated one of the test files to demonstrate this.

samofcorinth avatar Jun 07 '21 23:06 samofcorinth