Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I use code references and regular expressions
Message
De
13/01/2006 14:19:57
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
À
13/01/2006 04:30:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01086322
Message ID:
01086655
Vues:
12
Viv,

Thanks for the suggestion. I know that I have a line of code that contains "... ORDER TAG MLS". Your search string did not return anything when using the regular expressions option. Any other ideas?

[Update]
Never mind. I think I figured it out. I tried:

.*\bORDER\b.*\bMLS\b | .*\bMLS\b.*\bORDER\b

and it seemed to have worked (at least I got back some hits that look correct).
[Update]

Thanks
Mike

>Hi,
>Try:
>\bORDER\b.*\bMLS\b | \bMLS\b.*\bORDER\b
>
>Regards,
>Viv
>
>>I'm trying to use the code references tool with the "Use regular expressions" Option to find any line of code that contains the two words "ORDER" and "MLS". I'd like a positive match only if both of these words exist as shown. i.e. I don't want lines if they contain "MLSID", "CUSTORDER", etc.
>>
>>What regular expression syntax should I use?
>>
>>TIA
>>Mike
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform