added support for '==~' and '=~' operators