Add subexpression matching.