From cbc945299e7f67f5f10dfdc6a875e5c53ac8440a Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 5 Jun 2014 13:39:14 -0400 Subject: [PATCH] Fixes #148 --- app/validators.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/validators.php b/app/validators.php index bd06547bd313..8bda3805276c 100644 --- a/app/validators.php +++ b/app/validators.php @@ -2,5 +2,5 @@ Validator::extend('alpha_space', function($attribute,$value,$parameters) { - return preg_match("/^[\n\-+:?#~'\/\(\)_,!. a-zA-Z0-9]+$/m",$value); + return preg_match("/^[\s\n\-+:?#~'\/\(\)_,!.a-zA-Z0-9\pL\pN_-]+$/um",$value); });