100% of the time this little bit of regex has served me well until now.
^[\w\.-]{1,}\@([\da-zA-Z-]{1,}\.){1,}[\da-zA-Z-]+$
Is there a reason you're not using the built in isValid(email,
variable) function instead of a regex?
-Justin
Pretty sure isValid() incorrectly flags emails with apostrophes as invalid.
There are two or three bugs with isValid() and emails.
On Feb 24, 2013 7:05 AM, Justin Scott leviat...@darktech.org wrote:
100% of the time this little bit of regex has served me well until now.
Still?
Regards
Russ Michaels
www.michaels.me.uk
www.cfmldeveloper.com - Free CFML hosting for developers
www.cfsearch.com - CF search engine
On Feb 24, 2013 3:24 PM, Matt Quackenbush quackfu...@gmail.com wrote:
Pretty sure isValid() incorrectly flags emails with apostrophes as invalid.
There
This seems to work, no?
No. It doesn't allow for quite a number of completely legit characters,
notably the + sign (which is very common), amongst others. That said, this
is the fault of the original regex, not your fix for it.
My feedback on this got too long for a response here, so I wrote
Pretty sure isValid() incorrectly flags emails with apostrophes as invalid.
Nope, at least not with CF9 (checked last night before I posted).
There are two or three bugs with isValid() and emails.
I was about to ask if anyone had details on where isValid() might fail
on e-mail addresses when
I take issue! ;)
Kevin simply asked to his regex working with an apostrophie. My answer
did that. He didn't ask for the be-all-end-all of email validators.
Now, as to the rest of your comment and blog post, I'm in agreement.
It's rarely done correctly. (Not accounting for plus addressing
Something tangential to keep in mind is BE CONSISTENT.
I've come across numerous instances out there where different features
on a site don't have the same validation. For example, the account
creation process might accept an email address with a plus sign in it,
but the password reset
Hi all,
I am still using CF7 and I'm about to put together a site for a
photographer. I don't really want to spend a fortune upgrading CF, so I am
wondering if there is anything I can use to read in EXIF information?
If this isn't possible with CF, perhaps it could be done with Railo?
I'd
you can try CFIMAGE action=info
https://github.com/getrailo/railo/wiki/Documentation:4_0:Tags:cfimage
You can download and test out quickly with Railo Express
http://www.getrailo.org/index.cfm/download/
On 25 February 2013 10:34, Jenny Gavin-Wear
jenn...@fasttrackonline.co.ukwrote:
Absolutely mate. I did make sure to point that out:
That said, this
is the fault of the original regex, not your fix for it.
(Yes, I did see the smiley too though ;-)
On 25 February 2013 15:00, .jonah jonah@creori.com wrote:
I take issue! ;)
Kevin simply asked to his regex working
On 2/25/2013 9:34 AM, Jenny Gavin-Wear wrote:
I am still using CF7 and I'm about to put together a site for a
photographer. I don't really want to spend a fortune upgrading CF, so I am
wondering if there is anything I can use to read in EXIF information?
even if you upgraded not sure you'd
And you know what, I glossed over that sentence before replying. :O
On 2/24/13 8:06 PM, Adam Cameron wrote:
Absolutely mate. I did make sure to point that out:
That said, this
is the fault of the original regex, not your fix for it.
(Yes, I did see the smiley too though ;-)
On 25
12 matches
Mail list logo