minor bug fix: the pattern will now only match the keyword which ends with a colon (:).