From f62d0601d1e9df1c1d38e556d054e2a4be6e36b9 Mon Sep 17 00:00:00 2001 From: Pepelisu Date: Mon, 19 Jun 2017 12:02:14 +0200 Subject: Update routing.rst Adds explanation for escape character \ in routing. --- docs/routing.rst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') 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 ``//item:`` triggers the old syntax, (see below) but ``/action/item\:`` 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 -- cgit v1.2.1