Login   Register  
PHP Classes


Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      Akelos PHP Inflector  >  All threads  >  bug  >  (Un) Subscribe thread alerts  
Summary:a bug in one of the regex strings
Author:Stefan Jibrail Froelich
Date:2011-08-24 14:13:21

  1. bug   Reply   Report abuse  
Picture of Stefan Jibrail Froelich
Stefan Jibrail Froelich
2011-08-24 14:13:27
First, let me thank you for a great library.

In the pluralize method, the regex


is missing a "$". This causes strings like "status_message" to be pluralized to "statuses_message" instead of "status_messages"
The correct regex should be


Most likely you already fixed this but this is for those still using the version you have here. Hope this helped.