Set up the regular expressions for each group.

@since 0.10.0

@param string $key The group array index key where the input for the regular expression can be found.
@return bool True if the groups were setup. False if not.