dsm:mod_regex: add substring selection

 $regex.match[n] is set to nth substring match, starting with 1
 ($regex.match[1] is set to first substring match...)