summaryrefslogtreecommitdiff
path: root/CHANGES.txt
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-02-09 02:32:29 -0500
committerChris McDonough <chrism@plope.com>2011-02-09 02:32:29 -0500
commit9595236d4f1212323dbf06670a80e6a4fb7c8fcf (patch)
treecd4582e995790a95635e2f07c61a994548f60d7f /CHANGES.txt
parente8e655fecd4b45be571c3da3e5d1a0351353ab61 (diff)
downloadpyramid-9595236d4f1212323dbf06670a80e6a4fb7c8fcf.tar.gz
pyramid-9595236d4f1212323dbf06670a80e6a4fb7c8fcf.tar.bz2
pyramid-9595236d4f1212323dbf06670a80e6a4fb7c8fcf.zip
- URL pattern markers used in URL dispatch are permitted to specify a custom
regex. For example, the pattern ``/{foo:\d+}`` means to match ``/12345`` (foo==12345 in the match dictionary) but not ``/abc``. However, custom regexes in a pattern marker which used squiggly brackets did not work. For example, ``/{foo:\d{4}}`` would fail to match ``/1234`` and ``/{foo:\d{1,2}}`` would fail to match ``/1`` or ``/11``. One level of inner squiggly brackets is now recognized so that the prior two patterns given as examples now work. See also https://github.com/Pylons/pyramid/issues/#issue/123. Closes #123
Diffstat (limited to 'CHANGES.txt')
-rw-r--r--CHANGES.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index ffafe1b7d..34e8cd7b6 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,3 +1,19 @@
+Next release
+============
+
+Bug Fixes
+---------
+
+- URL pattern markers used in URL dispatch are permitted to specify a custom
+ regex. For example, the pattern ``/{foo:\d+}`` means to match ``/12345``
+ (foo==12345 in the match dictionary) but not ``/abc``. However, custom
+ regexes in a pattern marker which used squiggly brackets did not work. For
+ example, ``/{foo:\d{4}}`` would fail to match ``/1234`` and
+ ``/{foo:\d{1,2}}`` would fail to match ``/1`` or ``/11``. One level of
+ inner squiggly brackets is now recognized so that the prior two patterns
+ given as examples now work. See also
+ https://github.com/Pylons/pyramid/issues/#issue/123.
+
1.0 (2011-01-30)
================