Allow RE2::Set::Match() to accept a null pointer.

Some users simply want to know whether any regular expression in the set
matched, not which regular expression(s) matched. The DFA code already
does the right thing when passed a null std::vector<int> pointer, so
make RE2::Set::Match() do it too.

Change-Id: I3a6bfd4abb72c96a9e81340eb875ba9b41217eed
Reviewed-on: https://code-review.googlesource.com/4290
Reviewed-by: Paul Wankadia <junyer@google.com>
3 files changed