1
0
mirror of https://git.sr.ht/~sircmpwn/gmnisrv synced 2024-12-04 14:46:42 -05:00

Clarify regex details in gmnisrv.ini(5)

This commit is contained in:
Drew DeVault 2020-11-01 09:48:10 -05:00
parent f15bea6583
commit 4b6f5a1c61

View File

@ -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]*