>>>
>>>
>>>o_regexp1=NEWOBJECT("_regexp","c:\program files (x86)\microsoft visual foxpro 9\ffc\_regexp.vcx")
>>>o_regexp1.Pattern = "%[^.]VFP2SQL%"
>>>lnOcc = o_regexp1.Execute(FILETOSTR(GETFILE()), .t.)
>>>DISP MEMO LIKE o_regexp1.matches
>>>
>>
>>This doesn't seem to work.
>
>You need to "escape" the dot by adding a backslash before it, so instead of [^.] use [^\.], otherwise it means any character (with few exceptions) not sure why Borislav uses the %, it is probably something for the regexp class?
No, this is from TSQL :o)))))
Nothing common with regexpr
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.