Skip to content

Commit

Permalink
Rewrote a sentence.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Catera committed Oct 13, 2012
1 parent cb8a66b commit 5fda88c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/dev_guide/intro/mojito_configuring.rst
Expand Up @@ -1030,9 +1030,9 @@ Using Regular Expressions to Match Routing Paths
------------------------------------------------

You can use the ``regex`` property of the ``routing`` object to define a key-value pair
that define a path parameter and a regular expression. The key is prepended
with a colon as the path parameter. The key ``name`` defined in ``regex`` would
be represented as ``:name`` as a path parameter: ``"path": "/:name"``.
that defines a path parameter and a regular expression. The key is prepended
with a colon when represented as a path parameter. For example, the key ``name``
would be represented as ``:name`` as a path parameter: ``"path": "/:name"``.
The associated value contains the regular expression that is matched against
the request URL.

Expand Down

0 comments on commit 5fda88c

Please sign in to comment.