(#22925) Correct transposed arguments for assert_match

The assert_match expects search string/regex first, string to search
second.  We had them backwards.
Merge branch 'issue/master/22925-fix-assert-match-for-cached-catalog-test'

* issue/master/22925-fix-assert-match-for-cached-catalog-test:
  (#22925) Correct transposed arguments for assert_match