Fix inifinity loop bug

a bug that lead to an infinity loop when certain characters are included in
argument of SyntaxHiliter.Syntax.addKeywords().