Open xepozz opened 1 year ago
User can override rules via withSingularizeRules()
and withPluralizeRules()
methods, and use regular expressions with different flags. It is do not allow us use CombinedRegexp
here.
I didn't get you
I didn't get you
CombinedRegexp
uses same flags for all expressions, but inflector allow use expressions with different flags.
We have introduced https://github.com/yiisoft/strings/blob/master/src/CombinedRegexp.php that helps with a loop of regexps. There are some places to apply
CombinedRegexp
: