Support subexpressions in compound matcher.
Merge pull request #3180 from alecthomas/develop

Support subexpressions in compound matcher.