convenience methods on Regex for getting match groups