diff options
| author | Chris McDonough <chrism@plope.com> | 2011-02-09 02:32:29 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2011-02-09 02:32:29 -0500 |
| commit | 9595236d4f1212323dbf06670a80e6a4fb7c8fcf (patch) | |
| tree | cd4582e995790a95635e2f07c61a994548f60d7f /docs/tutorials/modwsgi | |
| parent | e8e655fecd4b45be571c3da3e5d1a0351353ab61 (diff) | |
| download | pyramid-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 'docs/tutorials/modwsgi')
0 files changed, 0 insertions, 0 deletions
