>>You can use a collection, each member having
>>- the regex pattern
>>- the regular expression object
>>- a method ( name) to call if the regex matches - you can pass the matches collection to the method
>
>Hi Gregory,
>
>Thanks for your contribution on this thread.
>
>Just reading thru this thread and got your words about regex-ing with VFP. regex is not native to VFP. I understand you mean using an external library to process the regex. Which one would you rely upon? And what dependencies (i-e dlls) would that incur.
>
>We are have a growing requirement to parse expressions from within VFP here. Up to now I did strictly rely on the relatively vfp string-handling facilities. Would you recommend some external stable third-party libraries for this regexing ? I certainly WANT to avoid win-platform-levels dependencies here:)
>
>Cheers
>
>Daniel
Daniel,
I've always used VBScript.RegExp. Since 2000 that is - and I've never had any problem
As I understand - it depends on Internet Explorer being installed - don't know whether that fits your requirement
http://www.regular-expressions.info/vbscript.htmlYou can find a quick start here
http://www.atoutfox.com/articles.asp?ACTION=FCONSULTER&ID=0000000748You may be interested in attending the 'Rencontres Atoutfox 2017' in May - this year in Lyon
http://www.atoutfox.com/actualite.aspHope to see you there
Gregory