Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Date type
Message
De
11/12/2016 05:56:15
 
 
À
10/12/2016 23:06:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01644735
Message ID:
01644841
Vues:
78
>>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.html

You can find a quick start here http://www.atoutfox.com/articles.asp?ACTION=FCONSULTER&ID=0000000748

You may be interested in attending the 'Rencontres Atoutfox 2017' in May - this year in Lyon http://www.atoutfox.com/actualite.asp
Hope to see you there
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform