diff options
author | colin <colin@cicadas.surf> | 2024-05-12 06:26:03 -0700 |
---|---|---|
committer | colin <colin@cicadas.surf> | 2024-05-12 06:26:03 -0700 |
commit | a176342ae03af520bbc27a7860f586f6c73b58a2 (patch) | |
tree | 2d3c2a0ec99ab8d7a3fe69828d64eb60a18ebbe7 | |
parent | b69c9b0cf6a42c539317ed2659f53fb34444a890 (diff) |
Fix: readme typos and clarity
-rw-r--r-- | README.org | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -105,14 +105,14 @@ E.g :initarg :bar-val)) (:metaclass weekend:endpoint) (:method . :get) - (:route-groups "foo" "([0-9]+)" "bar" "(blah|nah)") + (:route-parts "foo" "([0-9]+)" "bar" "(blah|nah)") (:extractors (:foo-id parse-integer) :bar-val)) #+end_src -In ~:route-groups~ there are four parts, two match groups, and two -extractors. +In ~:route-parts~ there are four parts, two match groups. The +~:extractors~ slot has two extractor specs. The parts will be combined into a regular expression: ="^/foo/([0-9]+)/bar/(blah|nah)$"= @@ -150,7 +150,7 @@ route, leaving the other to be a query parameter. :initform (weekend:slot-required 'bar-val 'example2)) (:metaclass weekend:endpoint) (:method . :get) - (:route-groups "foo" "([0-9]+)" "bar") + (:route-parts "foo" "([0-9]+)" "bar") (:extractors (:foo-id parse-integer))) #+end_src |