From e8027bc6430f68fd476b5261bbd2bd0aa54a1380 Mon Sep 17 00:00:00 2001 From: Zizaco Date: Mon, 30 Mar 2015 16:04:34 -0300 Subject: [PATCH] =?UTF-8?q?Changed=20the=20order=20of=20the=20'=C3=AA'=20p?= =?UTF-8?q?attern=20since=20it=20missmatches=20in=20unix=20systems?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Inflect/Inflect.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Inflect/Inflect.php b/src/Inflect/Inflect.php index cf395ce..94caaae 100644 --- a/src/Inflect/Inflect.php +++ b/src/Inflect/Inflect.php @@ -42,7 +42,6 @@ class Inflect * @var string **/ static $singular = array( - '/([^ê])s$/i' => '$1', '/^(á|gá|paí)s$/i' => '$1s', '/(r|z)es$/i' => '$1', '/([^p])ais$/i' => '$1al', @@ -60,7 +59,8 @@ class Inflect '/ões$/i' => 'ão', '/oes$/i' => 'ao', '/(japon|escoc|ingl|dinamarqu|fregu|portugu)eses$/i' => '$1ês', - '/^(g|)ases$/i' => '$1ás' + '/^(g|)ases$/i' => '$1ás', + '/([^ê])s$/i' => '$1' ); /**