RegEx::findMatches, RegEx::findAllMatches and their test case.