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

should this have been removed?