Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Regular Expression
Message
From
25/11/2013 13:12:06
 
 
To
25/11/2013 12:47:00
Emerson Reed
Folhamatic Tecnologia Em Sistemas
Americana - São Paulo, Brazil
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01588553
Message ID:
01588618
Views:
65
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform