reggy
reggy copied to clipboard
negated character class
It seems to me that Reggy does not detect negated character classes properly. The regex \b[^a-b]{4}\b matches four letter words that do not contain the range [a-b].
Above, Reggy matches the words 'been' and 'beck', which are four letter but contain the letter 'b'.
If I tick the "Match Case" check box, Reggy does not match anymore the words 'bean' and 'beck'.
similar issue with a negated class any non-word character and not a space should not include the letter 'a'