Skip to content
Browse files

README.md: fix regular expression example

  • Loading branch information...
1 parent 55885f0 commit f0033b5fb427d2c9928d6cc071e88a14bb2653a4 @godfat committed Oct 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
2 README.md
@@ -29,7 +29,7 @@ Rack applications or Rack middlewares. Under 200 lines of code.
* No templates
* No ORM
* No `dup` in `call`
-* Regular expression routes, e.g. `get %r{/(\d+)}`
+* Regular expression routes, e.g. `get %r{^/(?<id>\d+)$}`
* String routes, e.g. `get '/'`
* Custom routes, e.g. `get Matcher.new`
* Build for either Rack applications or Rack middlewares

0 comments on commit f0033b5

Please sign in to comment.
Something went wrong with that request. Please try again.