Internal namespace for data-driven route URI match.
Internal namespace for data-driven route URI match.
(dynamic-uri-full-match* uri begin-index params-map pattern-tokens)
(dynamic-uri-partial-match* uri begin-index params-map pattern-tokens)
(parse-uri-template uri-pattern)
Given a URI pattern string, e.g. '/user/:id/profile/:descriptor/' parse it and return a vector [tokens partial?] of alternating string and keyword tokens, e.g. [['/user/' :id '/profile/' :descriptor '/'] false]. Marker char is ':'.
Given a URI pattern string, e.g. '/user/:id/profile/:descriptor/' parse it and return a vector [tokens partial?] of alternating string and keyword tokens, e.g. [['/user/' :id '/profile/' :descriptor '/'] false]. Marker char is ':'.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close