commit | 1a973c31f7ed13b8edb70026b3b1a064f5f4fba7 | [log] [tgz] |
---|---|---|
author | ftwbzhao <b.zhao1@gmail.com> | Tue Apr 14 16:59:44 2015 +0800 |
committer | ftwbzhao <b.zhao1@gmail.com> | Tue Apr 14 16:59:44 2015 +0800 |
tree | de9b129114205d8592b477e30c1f6a5f101b9f42 | |
parent | ebfc48a9ee05dbd96a372894ab65f6287fe6c398 [diff] [blame] |
[helper]update plural regular
diff --git a/system/helpers/inflector_helper.php b/system/helpers/inflector_helper.php index d8ed45d..f289005 100644 --- a/system/helpers/inflector_helper.php +++ b/system/helpers/inflector_helper.php
@@ -133,6 +133,7 @@ } $plural_rules = array( + '/(quiz)$/' => '\1zes', // quizzes '/^(ox)$/' => '\1\2en', // ox '/([m|l])ouse$/' => '\1ice', // mouse, louse '/(matr|vert|ind)ix|ex$/' => '\1ices', // matrix, vertex, index