I've been working on an SQL syntax plist with some more keywords but I can't see a way to pass in a "case insensitive" flag to the regex matches. I've reverted to something ugly like this : match="\\b(sum|SUM|count|COUNT)\\b" ... etc any suggestions? thx, K