We're not only checking at the beginning. If I add the '^' a query like '(¬1)' would not trigger. The problem with the keyword trigger was that it would not trigger at all on a query like '¬1', probably because of the missing whitespace between '¬' and the '1' (?).