In reply to Re^2: Capturing groups where the ending is optional by cwm9 in thread Capturing groups where the ending is optional by cwm9