engine: fix trigger matching rule

<non-keyword><keyword> is not breakable: $var in php
<keyword><non-keyword> is breakable: func( in c