"Since jEdit checks buffer text against parser rules in
the order they appear in the ruleset, more specific
rules must be placed before generalized ones, otherwise
the generalized rules will catch everything."
However, using this:
\foo is colored as FUNCTION not as KEYWORD