RE: [fw-general] Zend_Validate_Regex issue

2009-08-09 Thread Terre Porter
Message- From: Thomas Weidner [mailto:thomas.weid...@gmx.at] Sent: Thursday, July 09, 2009 9:23 AM To: fw-general Subject: Re: [fw-general] Zend_Validate_Regex issue The regex validator has also a INVALID message which you did not set. Which type has the value you want to validate ? Try

RE: [fw-general] Zend_Validate_Regex issue

2009-08-09 Thread Terre Porter
Porter [mailto:tpor...@webpage-builders.com] Sent: Sunday, August 09, 2009 9:02 PM To: 'fw-general' Subject: RE: [fw-general] Zend_Validate_Regex issue I'm happy you posted this as I didn't find any reference to INVALID in Zend_Validate_Regex. I've been using the preset const values

Re: [fw-general] Zend_Validate_Regex issue

2009-07-10 Thread Bart McLeod
Hi Thomas, Only today I set aside my stubborness and tried to set the INVALID message, which worked fine. I just don't understand why this was changed and why BC was broken. Do you know? -Bart Thomas Weidner schreef: The regex validator has also a INVALID message which you did not set.

Re: [fw-general] Zend_Validate_Regex issue

2009-07-09 Thread Thomas Weidner
The regex validator has also a INVALID message which you did not set. Which type has the value you want to validate ? Try a var_dump of the value. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: Bart McLeod

Re: [fw-general] Zend_Validate_Regex issue

2009-07-09 Thread Bart McLeod
Hi Thomas, Thanks for the reply. What is validated is the output of an HTML form. So everything comes in as a string. The format of the string is intentionally crap, something like dkfj;sdrfhpthqew;rjhn;kfhe to mimic the behavior of some very irritating spambots. The reason I use a very