On Feb 22, 2005, at 17:34, kumar mcmillan wrote: > 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 Do: \\<(?i:sum|count)\\>