diff options
author | Pepelisu <pepelisu@users.noreply.github.com> | 2017-06-19 12:02:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-19 12:02:14 +0200 |
commit | f62d0601d1e9df1c1d38e556d054e2a4be6e36b9 (patch) | |
tree | 2f0e26ee3b8155c0a76f66d00b145e4daf23441b /docs | |
parent | 77d37bf6ed02efacd94483ebc6ff35241bc3a0a0 (diff) | |
download | bottle-f62d0601d1e9df1c1d38e556d054e2a4be6e36b9.tar.gz |
Update routing.rst
Adds explanation for escape character \ in routing.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/routing.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/routing.rst b/docs/routing.rst index fababa7..ed7b8d2 100644 --- a/docs/routing.rst +++ b/docs/routing.rst @@ -26,6 +26,10 @@ Path Result //123 `No Match`
============ =========================================
+Is it possible to escape characters like colon ``:`` with a backslash ``\``. This will prevent to trigger the old syntax in case you need to use ``:``.
+For example: the rule ``/<action>/item:<id>`` triggers the old syntax, (see below) but ``/action/item\:<id>`` works as intended with the new syntax.
+
+
You can change the exact behaviour in many ways using filters. This is described in the next section.
Wildcard Filters
|