From a176342ae03af520bbc27a7860f586f6c73b58a2 Mon Sep 17 00:00:00 2001 From: colin Date: Sun, 12 May 2024 06:26:03 -0700 Subject: Fix: readme typos and clarity --- README.org | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'README.org') diff --git a/README.org b/README.org index 16ebaec..518f60d 100644 --- a/README.org +++ b/README.org @@ -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 -- cgit v1.2.3