add greedy capture.