Skip to content

Commit

Permalink
Changed the order of the 'ê' pattern since it missmatches in unix sys…
Browse files Browse the repository at this point in the history
…tems
  • Loading branch information
Zizaco committed Mar 30, 2015
1 parent 4a0538a commit e8027bc
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 e8027bc

Please sign in to comment.