Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Regular Expression Help
Message
De
09/03/2009 09:47:39
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
 
Information générale
Forum:
Windows
Catégorie:
Informatique en général
Divers
Thread ID:
01386592
Message ID:
01386609
Vues:
31
Excellent. Thank you!

>Shorter one
>
>"^\d{5}(-|-\d{4})?$"
>
>
>>Nice catch, Sergey. Thank you!
>>
>>>Mike,
>>>
>>>Your pattern allows "90210--1234". Try
>>>
>>>"^\d{5}(-?|(-\d{4}))?$"
>>>
>>>
Very fitting: http://xkcd.com/386/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform