diff --git a/index.html b/index.html index efa4e21..03b4d22 100644 --- a/index.html +++ b/index.html @@ -468,7 +468,7 @@
Named wildcard accessed, for example /file/javascripts/jquery.js
would provide "/javascripts/jquery.js" as ctx.params.file
:
page('/file/:file(*)', loadUser)
page('/file/:file(.*)', loadUser)
And of course RegExp
literals, where the capture
groups are available via ctx.params[N]
where N