Note to self: religion freaky.

Buffy ,'Never Leave Me'


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.

To-do list


§ ita § - Feb 26, 2003 5:35:28 pm PST #3254 of 10000
Well not canonically, no, but this is transformative fiction.

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.


John H - Feb 26, 2003 5:45:54 pm PST #3255 of 10000

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.


§ ita § - Feb 26, 2003 5:47:54 pm PST #3256 of 10000
Well not canonically, no, but this is transformative fiction.

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.


John H - Feb 26, 2003 6:01:51 pm PST #3257 of 10000

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.


Rebecca Lizard - Feb 26, 2003 7:34:17 pm PST #3258 of 10000
You sip / say it's your crazy / straw say it's you're crazy / as you bicycle your soul / with beauty in your basket

(There's the underscore....)


John H - Feb 26, 2003 7:48:50 pm PST #3259 of 10000

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.


Rebecca Lizard - Feb 26, 2003 8:00:37 pm PST #3260 of 10000
You sip / say it's your crazy / straw say it's you're crazy / as you bicycle your soul / with beauty in your basket

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.


P.M. Marc - Feb 26, 2003 8:10:28 pm PST #3261 of 10000
So come, my friends, be not afraid/We are so lightly here/It is in love that we are made; In love we disappear

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.


P.M. Marc - Feb 26, 2003 8:12:59 pm PST #3262 of 10000
So come, my friends, be not afraid/We are so lightly here/It is in love that we are made; In love we disappear

Also, FUCKERS!!!!!

We seem to have a lot of characters in usernames that I wouldn't have expected.


John H - Feb 26, 2003 8:52:03 pm PST #3263 of 10000

It it's really that complicated, I think the concept of email address needs to be redefined to be "the bits wrapped around the @", and put the username somewhere else.

Not that you can't write a regular expression to say "anything at all goes here" but then you have to start working from the other end, "anything at all except for the @ symbol", etc.