Introduce a sub-class for matching regexps.

The disctinction between matching and control regexps will be used to split the
regexp generation list into two.
Split the regexp code generation list into matching and control regexp lists.

Doing this early is easy, and avoids having to sort them later.