Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VBRegExp query
Message
De
18/01/2001 20:22:51
 
 
À
18/01/2001 14:43:06
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00465188
Message ID:
00465508
Vues:
13
>Thanks for the reply Ed
>
>Unfortunately, I got a COM error with that pattern. It doesn't seem to like the (*) in the middle. I can change the pattern to '\**\*' and it will naturally find all occurences but then the replacement string '< I >$1< /I >' goes around each word e.g. '< I >$1< /I >'MyWord'< I >$1< /I >'.
>

Try the pattern:

'\*([^\*]+)\*'

>I may have to look at another way of doing this. It just seemed like the RegExp object was suited for it.
>
>Cheers
>AJ
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform