Allow capturing groups to be used within token patterns without breaking
the capturing of the token parameters.