in reply to Highlighting only captured groups from larger regex
You should be able to use @- and @+ to find the text that matched - these have been around since 5.004 or so :)