($capture) = grep defined, / (?:case1) | (?:case2) | .../x;