xtree pattern match both left and right panes