Fix scala outline: not_match_patterns: keyword's last character is accidentaly removed in some case