Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Regular Expression
Message
De
25/11/2013 13:12:06
 
 
À
25/11/2013 12:47:00
Emerson Reed
Folhamatic Tecnologia Em Sistemas
Americana - São Paulo, Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01588553
Message ID:
01588618
Vues:
64
>Thanks a lot!!!

You're welcome
[0-9]+; [0-9]+ [0-9]+ SCHEMA - \b(information-schema|(?!pg_))\w+\b [a-zA-Z]+
There were a couple of problems in your pattern

(1) \w+ will never match information-test because the hyphen is not in the \w set
\w = [A-Za-z0-9_]
(2) You need both the anchors ^ and $ otherwise you may have a match of any sequence of chars in the string

(3) Since (?!) is a zero width assertion you can put both after each other
(?!not this)(?!and not that)
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform