From 5750eba7489a40bf6910dd675ddafb6629e686aa Mon Sep 17 00:00:00 2001 From: Hamish Macpherson Date: Mon, 28 Sep 2020 13:14:31 -0700 Subject: [PATCH] docs: link to repl for testing urlReplacementPatterns (#460) --- docs/configuration.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/configuration.md b/docs/configuration.md index 93ceaa519..a966f27ee 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -549,6 +549,7 @@ For example, by default Lighthouse CI will automatically replace the port of tes - There is no escape support for the delimiter, so you must choose a delimiter character that does not appear in your search regex or your replacement. - Beware of double-escaping requirements. If you're passing a string in JS or an argument through a shell, you may need to use `\\` in order for a `\` to be seen by Lighthouse CI. - If you set `urlReplacementPatterns` yourself, you will lose the defaults provided by Lighthouse CI. If you need the functionality provided by the defaults, be sure to copy them into your configuration as well. +- You can quickly experiment with various replacement patterns using [this online REPL](https://repl.it/@hamstu/test-replaceUrlPatterns#index.js). **Examples:**