Override regexp in tests