Fair enough if it was manual manual. But if there was some kind of programmatic "update users set update_time = 5 where update_time < 5" then something went wrong with it, I'd say.
Buffistas Building a Better Board
Do you have problems, concerns or recommendations about the technical side of the Phoenix? Air them here. Compliments also welcome.
what happens if one of the vars contains a dot itself? I'm sure I'm barking up the wrong tree but it could explain it.
No idea, but as Elena pointed out, it's not just dots so I don't think that's it.
John, I think it's the regexp:
"/^([a-z ]*^<)?([a-z0-9._-])+@([a-z0-9.-])+(\\.)([a-z]{2,4})(>)?$/i"
for checking a valid e-mail address that's choking on name punctuation.
Oh, OK, that makes sense, but why is that checking people's names -- because we're doing them in the form:
John H <johnh@blah.com>
or something?
So just chuck out the nice bit and just reduce it to the bare address is the quick solution.
Yes, that's what we're checking.
I can't read the regexp well enough to know what to toss, though. Just the other modules that'll need to be changed.
I can't read the regexp well enough to know what to toss, though.
Oh I didn't even look at it properly, I see the problem. It's designed to include optional non-email text.
Easy peasy:
[a-z ]
at the start is "a sequence of letters or spaces" so it should be enough just to put in
[a-z.' -]
which I just tested, and matches
P-M.M' Marcontell
which contains all the possible punctuation in people's names, I think.
(There's the underscore....)
Who has an underscore in their name?
But yeah, if that's an issue, put that in between the brackets as well. Does anyone have a number in their name?
If they do, then maybe we want
[\\w .'-]
which will match that well-known Buffista
p.m-m'm_ m4rc0nt3ll
because the \\w includes all letters, numbers and the underscore.
Who has an underscore in their name?
Jenny_G comes to mind.
I mean, really, there's no limit to the punctuation, isn't there? Didn't a /mieskie register (and get booted, but, yeah, well)? Someone could register with an asterisk. Maybe someone has.
Spawn1, DCM1101 (Paul's user name), and a couple others I think use numbers. Anyone with ~? I know they were popular before WX let you lc your name without them.