Implements String::match with global regex. Closes #204