diff options
author | Einar Egilsson <einar@einaregilsson.com> | 2020-12-07 08:43:49 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-07 08:43:49 +0000 |
commit | 52362c75019a6f169c500e2f8798adb3c9aeb532 (patch) | |
tree | 6dd3123d71bca00e3031bed9821b1b0070be7203 /help.html | |
parent | 036df24b53988edd883cfe850cc5e25c1bef72ef (diff) | |
parent | c4d2ea2e76c26f1c718822a3e06e237a5597c6c6 (diff) |
Merge pull request #238 from grahamperrin/patch-2
Update help.html
Diffstat (limited to 'help.html')
-rw-r--r-- | help.html | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -147,12 +147,12 @@ <h4>Regular expressions</h4> <p>Regular expressions allow for more complicated patterns but they are a lot harder to learn than wildcards. I'm not gonna - create a regex tutorial here but normal javascript regex syntax works, look at <a href="http://regular-expressions.info" target="_blank">http://regular-expressions.info</a> for + create a regex tutorial here but normal javascript regex syntax works, look at <a href="http://www.regular-expressions.info/" target="_blank">Regular-Expressions.info</a> for an introduction to regular expressions. $1,$2 etc. can be used in the redirect url and will be replaced with contents of captures in the regular expressions. Captures are specified with parentheses. Example: <span class="pattern">http://example.com/index.asp\?id=(\d+)</span> will match the url <span class="url">http://example.com/index.asp?id=12345</span> and $1 will be replaced by 12345. (A common mistake in regex patterns is to forget to escape the ? sign in the querystring of the url. ? is a special character in regular expressions so if you want to match an url with a querystring - you should escape it as \?). To test your regular expressions, you may use any website or service. For example, <a href="https://regexr.com" target="_blank">regexr.com</a> </p> + you should escape it as \?). To test your regular expressions, you may use any website or service. For example, <a href="https://regexr.com" target="_blank">RegExr</a>.</p> <a name="storageArea"></a> <h4>Storage Area (Sync vs Local)</h4> |