From 2ae997f586491910e036fd2c1a9e120171715c7e Mon Sep 17 00:00:00 2001 From: Alexandre Gomes Gaigalas Date: Mon, 27 Sep 2010 19:14:07 -0300 Subject: [PATCH] Readme --- README.textile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.textile b/README.textile index 6978bc17..fdc04fb8 100644 --- a/README.textile +++ b/README.textile @@ -70,7 +70,7 @@ h3. Cool, informative exceptions:
try {
     $username = '#$%  #odjfubgihdbfgihbdfighb';
-    $validUsername = v::alnum()
+    $validUsername = v::alnum('_')
                       ->noWhitespace()
                       ->stringLength(1,15)
                       ->assert($username);