Skip to content

Commit

Permalink
Fix some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
ajunior authored Oct 1, 2024
1 parent 5740f17 commit 68a3a15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/routing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ 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 ``:``.
It is 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.


Expand Down Expand Up @@ -78,7 +78,7 @@ Legacy Syntax

.. versionchanged:: 0.10

The new rule syntax was introduce in **Bottle 0.10** to simplify some common use cases, but the old syntax still works and you can find lot code examples still using it. The differences are best described by example:
The new rule syntax was introduced in **Bottle 0.10** to simplify some common use cases, but the old syntax still works and you can find lot of code examples still using it. The differences are best described by example:

=================== ====================
Old Syntax New Syntax
Expand Down

0 comments on commit 68a3a15

Please sign in to comment.