From 597b72993eeb538c6d0e3ac91e4f5e98a3339767 Mon Sep 17 00:00:00 2001 From: Casey Duncan Date: Sun, 21 Nov 2010 10:04:35 -0700 Subject: fix lingering old-style replacement marker syntax --- docs/narr/urldispatch.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/narr/urldispatch.rst b/docs/narr/urldispatch.rst index 82e2950dc..3ac3bcf27 100644 --- a/docs/narr/urldispatch.rst +++ b/docs/narr/urldispatch.rst @@ -266,7 +266,7 @@ To capture both segments, two replacement markers can be used: The literal path ``/foo/biz.html`` will match the above route pattern, and the match result will be ``{'name': 'biz', 'ext': 'html'}``. This occurs because the replacement marker ``{name}`` has a literal part of -``.`` (period) between the other replacement marker ``:ext``. +``.`` (period) between the other replacement marker ``{ext}``. It is possible to use two replacement markers without any literal characters between them, for instance ``/{foo}{bar}``. This would be a nonsensical pattern -- cgit v1.2.3