summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2020-11-01 09:48:10 -0500
committerDrew DeVault <sir@cmpwn.com>2020-11-01 09:48:10 -0500
commit4b6f5a1c61b1d1bdc4ea145ff5652dd3fefce570 (patch)
tree4c84d7c65acd45c4fb26518c10eb87c4e28829f1
parentf15bea6583de0adb6a81642f03c7d2b27ee7bd2b (diff)
downloadgmnisrv-4b6f5a1c61b1d1bdc4ea145ff5652dd3fefce570.tar.gz
gmnisrv-4b6f5a1c61b1d1bdc4ea145ff5652dd3fefce570.tar.xz
gmnisrv-4b6f5a1c61b1d1bdc4ea145ff5652dd3fefce570.zip
Clarify regex details in gmnisrv.ini(5)
-rw-r--r--doc/gmnisrvini.scd5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/gmnisrvini.scd b/doc/gmnisrvini.scd
index 3fbfba1..2baa2f0 100644
--- a/doc/gmnisrvini.scd
+++ b/doc/gmnisrvini.scd
@@ -61,6 +61,11 @@ to each routing strategy. The token and match string may be omitted
: Regular expression routing. The string is a JavaScript-compatible regular
expression which is tested against the URL path.
+See ECMAScript 2016, section 21.2 for a definition of the regular expression
+syntax and features, or an informative reference on MDN:
+
+https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions
+
Some example section names and examples of matching paths:
|[ *[example.org:/foo]*