Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Rewrote a sentence.

  • Loading branch information...
commit 5fda88c1fdd02cb2b0d5f3167393c3015522c1d0 1 parent cb8a66b
Joe Catera authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 docs/dev_guide/intro/mojito_configuring.rst
6 docs/dev_guide/intro/mojito_configuring.rst
View
@@ -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.
Please sign in to comment.
Something went wrong with that request. Please try again.