Simple string core extension to help out when working with regex capture groups. Saves checking for size or nil every time you might have a capture group.
Seb Glazebrook
MIT