test: use assert.match
instead of regexp.test
#39928
Closed
assert.match
instead of regexp.test
#39928