Split GRegex into GRegex and GMatchInfo. (#419368, Marco Barisione)