For performance yarr has a runtime check that makes sure no more than 1000000 matches are tested. If there are more than so many matches it will always return NoMatch. Testcase is in the mozilla bugzilla. We decided to throw an error when that happens instead of erroneously saying there is NoMatch.