I'm having trouble fully understanding this Python 2 regular expression to validate email addresses. I found a great example here.
So according to regex101
this means we need atleast 1 value before the '@' symbol, 1 '@' symbol, and any number of characters after the '@' symbol and atleast 1 '.' symbol. First of all correct me if I'm wrong, but secondly no documentation anywhere explains what "[^@]" means. So I'm having trouble understanding what the above code means.
This means very little to me, but have found this useful example here
For example, the following string passes in Python but fails the JS expression: