I would like to write a RE to match all lowercase characters and words (special characters and symbols should not match), so like [a-z]+ EXCEPT the two words true and false.
I'm going to use it with Python.
I've written (?!true|false\b)\b[a-z]+, it works but it does not recognise lowercase characters following an uppercase one (e.g. with "This" it doesn't match "his"). I don't know how to include also this kind of match.
For instance:
true & G(asymbol) & falseshould match onlyasymboltrue & G(asymbol) & anothersymbolshould match only[asymbol, anothersymbol]asymbolUbsymbol | falseshould match only[asymbol, bsymbol]
Thanks