Just note the difference between these two regular expressions:
[^a]at
Your regex, will match any expression with three characters where the first one is not 'a' and the rest is 'at'
[^a]?at
The regex you would expect, will match any expression ending with 'at' and starting AT MOST (repetition operator ?) by any character not being 'a'
Not the suitable place to post it since it seems I'm answering to Loops, sorry. The response was directed to anaconda
In reply to Re: little regex question
by VGavara
in thread little regex question
by anaconda_wly
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |