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