Trailing wildcard regex searches greedily continue searching through the whole
input and make the test unnecessarily slow.
Using equivalent plain text partial match speeds up the test execution time from ~35s down to ~12s.
See before/after results here:
https://gist.github.com/Artem-B/d0b05c2e98a49158c02de23f7f4f0279