Use (?: ... ) for just grouping.
(Update: fixed markup)
In reply to Re: Why does this simple grouping regex not match? by moritz in thread Why does this simple grouping regex not match? by december