Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: Phone numbers and form fields

2 views
Skip to first unread message

Juerd

unread,
Mar 3, 2005, 4:24:08 PM3/3/05
to Michael G Schwern, perl6-l...@perl.org
Michael G Schwern skribis 2005-03-03 16:21 (-0500):
> I see this all the time. Phone numbers. Credit card numbers. Postal codes.
> I mean, christ. $input =~ s/\D+//g;

Phone numbers: don't strip a prefixed +.

Postal codes: if it's international, don't strip anything. My postal
code is 3316 GG, including the single space.


Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html

Juerd

unread,
Mar 3, 2005, 4:28:24 PM3/3/05
to Michael G Schwern, perl6-l...@perl.org
I hit the wrong macro key, causing the message to be sent to the wrong
mailing list. I'm very sorry; please ignore this thread.
0 new messages