Fix groovysh Exceptions for expressions containing '!'

due to new jline2 feature expanded events

tell me if this needs a JIRA issue