match returns a boolean.
Added allMatches and unit tests.