On Dec 23, 2004, at 20:04, Patrick Kelly wrote: > Is there a simple way to say "ignore case" for these? I'm sure these > lists are incomplete. Yes, use this: match = "\\<(?i:CREATE|...|CHAR)\\>"; ^^^ This sets the option that everything within the parenthesis should be case-insensitive.