If I use this regex:
^((?!^aa$).)*$
it works as expected: deselects 'aa' at the line start. But it doesn't if I try to combine it with a similar one:
^((?!^aa$).)*$|^((?!^ss$).)*$
Can anyone explain why, please?
I tried using both regex group kinds, escape slashes the possible ways, google the question a lot, and read many regex docs. But this is too complicated for me yet.