From 4b6f5a1c61b1d1bdc4ea145ff5652dd3fefce570 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 1 Nov 2020 09:48:10 -0500 Subject: [PATCH] Clarify regex details in gmnisrv.ini(5) --- doc/gmnisrvini.scd | 5 +++++ 1 file changed, 5 insertions(+) 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]*