syn match tclExternal "\<\(package\)\s\(forget\|ifneeded\|require\)\>"

I would like a region that looks at the word(s) coming after that match.

package require Tk

Tk in that would be the word to match (and color).

:Robert

Reply via email to