Error Matching Test (v2)

Revision 2 of this benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
Regex match
`AssertionError: could not parse protocol from url: "https%3A%2F%2Fwww.travelocity.com%2Flp%2Fb%2Fhotel-sale%3Faffcid%3Dtravelocity-US.network.cj.%zp.%za%26afflid%3D%zs%26cjevent%3D%ze"`.match(/could not parse protocol from url/)
ready
String includes
`AssertionError: could not parse protocol from url: "https%3A%2F%2Fwww.travelocity.com%2Flp%2Fb%2Fhotel-sale%3Faffcid%3Dtravelocity-US.network.cj.%zp.%za%26afflid%3D%zs%26cjevent%3D%ze"`.includes("could not parse protocol from url")
ready
Regex test
/could\snot\sparse\sprotocol\sfrom\surl/.test(`AssertionError: could not parse protocol from url: "https%3A%2F%2Fwww.travelocity.com%2Flp%2Fb%2Fhotel-sale%3Faffcid%3Dtravelocity-US.network.cj.%zp.%za%26afflid%3D%zs%26cjevent%3D%ze"`)
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.