When setting up font-lock-keywords for a GNU/Emacs mode, is it possible to highlight multiple sub-expressions of a regular expression with a single matcher? What I'd like to do is something along the lines of:
("\\(foo\\)-\\(bar\\)" '(1 foo-face) '(2 bar-face))
What would be the correct syntax for something like that - or do I have to split it up into two distinct matchers?