Make syntax regex 7.3-compatible

(Fix #32)

Also improve the matchit keyword recognition while at it.