BREAKING CHANGE: Before: expect(...).toMatchPattern(pattern); After: expect(...).toMatch(pattern);
Closes #9273