enhance regex and support not operator