Is this selection by Regex Coach is incorrect?

[^a] is as interpreted as follows:

enter image description here
You can see it’s selecting only first character which is not a.
But selects this differently as shown in following screen shot.

enter image description here makes sure that [^a] matches every character which is not a.
So which one of these is erroneous?

Source: regex

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.