Skip to content

Commit

Permalink
Merge pull request #5 from leroy-merlin-br/master
Browse files Browse the repository at this point in the history
Changed the order of the 'ê' pattern since it missmatches in unix systems
  • Loading branch information
Randson Oliveira committed Mar 30, 2015
2 parents 4a0538a + e8027bc commit f73aae3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Inflect/Inflect.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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'
);

/**
Expand Down

0 comments on commit f73aae3

Please sign in to comment.