in reply to Re: Regular Expressions
in thread Parenthesis usage in Regular Expressions

If you want grouping without capturing, use (?:...) instead of the (...) pattern.

In list context, you can get away with unwanted captures by using undef on the left hand side.

 my( $a, undef, $b) = m/(a)(b)(c)/;

-- stefp -- check out TeXmacs wiki