Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Regular expression
Message
De
09/11/2007 16:34:01
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01267839
Message ID:
01268136
Vues:
13
Hi Garrett,

I've avoided \s because this is [ \f\n\r\t\v]. It holds each and every Whitespace what might not be sufficient.

Have a nice weekend
Agnes

>>I am using RegExp fll by Craig Boyd to validate strong password. Currently, I am using
>>"^[a-zA-Z0-9]+$" to ensure password contains alphanumeric.
>>How would the reg expression look like if I want to allow leading/trailing spaces as well?
>
>Why do you want to restrict it to alphanum? I use punctuation in some of my passwords to increase security.
>
>Also, the short form for whitespace is \s, so you could do
>
>
'^\s*\w+\s*$'
>
>instead of typing a might-be-misread space.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform