Show
Ignore:
Timestamp:
02/16/06 20:55:33 (6 years ago)
Author:
john
Message:

fix rule for status->statuses

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/trax/vendor/trax/inflector.php

    r131 r137  
    3636                '/man$/' => 'men',                      # man, woman, spokesman 
    3737                '/child$/' => 'children',               # child 
    38                 '/(.+)status$/' => '\1statuses', 
     38                '/(.*)status$/' => '\1statuses', 
    3939                '/s$/' => 's',                          # no change (compatibility) 
    4040                '/$/' => 's' 
     
    5252                '/people$/' => 'person', 
    5353                '/men$/' => 'man', 
    54                 '/(.+)status$/' => '\1status', 
    55                 '/(.+)statuses$/' => '\1status', 
     54                '/(.*)statuses$/' => '\1status', 
    5655                '/children$/' => 'child', 
    5756                '/news$/' => 'news',