Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using REGEXP activeX
Message
De
27/03/2017 20:21:48
 
 
À
27/03/2017 19:52:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Divers
Thread ID:
01649405
Message ID:
01649417
Vues:
46
>
>notes:curious Regexp object
>1.code works with a specifc regEXP.pattern (for first not for second).
>2.for cursor regEXP.execute must receive a string instead a field as url
> it return matches.count=0 for a field url and matches.count=1 for a strind (xURL=url)

Change the pattern to "(\/watch\?v\=|\/\w+\?v=|\/|v=)([a-zA-Z0-9\-]+)(\s*$|\?|\&)" to get it working with a character (padded) field.
----------------------------------
António Tavares Lopes
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform