update the regex syntax

 * look for =~ and !~
 * syntax is stricter in looking for a regexliteral on the rhs