From 60f822ca0f7ea50a3bccdd29970d7ee1900c10a8 Mon Sep 17 00:00:00 2001 From: Andrey Kutejko Date: Sat, 22 Jun 2013 11:01:38 +0300 Subject: [PATCH] update examples --- README.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.org b/README.org index d631221..1364d08 100644 --- a/README.org +++ b/README.org @@ -41,7 +41,7 @@ ~RouteExpression::compile('[/ru]/story/')->match('/story/', $matches)~ returns ~true~ and ~$matches~ contains empty string which corresponds to optional part of expression. - ~RouteExpression::compile('/article/:slug')->match('/article/php-is-awesome', $matches)~ returns ~true~ and ~$matches~ contains ~'php-is-awesome'~. + ~RouteExpression::compile('/article/:slug')->match('/article/php-is-awesome', $matches)~ returns ~true~ and ~$matches~ contains only string 'php-is-awesome'. ** Reversing @@ -53,5 +53,5 @@ Example. - ~RouteExpression::compile('/article/:slug')->reverse(array('/article/php-is-awesome')~ returns ~'/article/php-is-awesome'~. + ~RouteExpression::compile('/article/:slug')->reverse(array('/article/php-is-awesome')~ returns '/article/php-is-awesome'. -- 2.49.0