In the Regex: `(?i)^\s*((?:(threadsafe)\s+)?(?:(static)\s+)?|(?:(override)))\s*(Function)\s*(\[.*\])?(\/\w+)?\s+(\w+)\s*(\()` There should be flags or MRS syntax in a non-capturing group, but in a test with sublime this did not match properly.