More information about the Underscore mailing list

[_] actually not regex, php help needed...

s'unya sunya.dickman at gmail.com
Thu Mar 20 16:10:38 GMT 2008

Hey,
On 20/03/2008, Craig Francis <craig at craigfrancis.co.uk> wrote:
>
> Looks like the code is being run twice?
>
> I suspect that its something outside what you have posted here.
>
> This snippet is from a class method to check email addresses, starting
with this simple check to see that there are expected numbers of characters.
As far as I can work out it is only being called once, but you are right it
appears to be running twice. The first time behaving as expected, the second
being called without email and therefore returning false.

Any ideas what might cause this?

                      o
            o                 o
                O   O   O
      o  0   O s´unya O   0  o
        www.the-resort.com