Adds hasTextMatching() assert similar to hasTest() but matching the given regex