AW: Turn off inflections

2008-10-30 Thread Liebermann, Anja Carolin
Hi David, I tried out several variations of $uninflectedPlural = array('.*ive'); But I either get error messages or nothing happens Nothing happens: '.*ive' Errors with: '/.*ive/i' gives preg_match() [function.preg-match]: Unknown modifier '.' '/.*ive/gives preg_match()

Re: AW: Turn off inflections

2008-10-30 Thread David C. Zentgraf
Works for me. In /app/config/inflections.php: $uninflectedPlural = array('.*ive'); Then: debug(Inflector::pluralize('Uebsmwinklusive')); Uebsmwinklusive Do not enter RegEx slashes '/.*/', that screws it up. BTW, looking at your original problem again, you might rather want to use the

AW: AW: Turn off inflections

2008-10-30 Thread Liebermann, Anja Carolin
David C. Zentgraf Gesendet: Donnerstag, 30. Oktober 2008 10:10 An: cake-php@googlegroups.com Betreff: Re: AW: Turn off inflections Works for me. In /app/config/inflections.php: $uninflectedPlural = array('.*ive'); Then: debug(Inflector::pluralize('Uebsmwinklusive')); Uebsmwinklusive Do

AW: AW: Turn off inflections

2008-10-30 Thread Liebermann, Anja Carolin
@googlegroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von Liebermann, Anja Carolin Gesendet: Donnerstag, 30. Oktober 2008 13:55 An: cake-php@googlegroups.com Betreff: AW: AW: Turn off inflections Hi David, The test works for me, too. However in my application I still get Uebsmwinklusife and of course all