lib/re: support regex subexpressions

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/re: intro `Match::[]`

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>