I am learning about regular expressions and I'm trying to solve this question: https://regex.sketchengine.co.uk/cgi/ex1.cgi
So far, I've come up with:
^[psr][^ta|?!ea].*$
But instead of checking if it doesn't match 'ea' as a substring, it tries to not match 'e' and 'a' as a second character. What is my error in this?