Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I use code references and regular expressions
Message
From
13/01/2006 14:19:57
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01086322
Message ID:
01086655
Views:
14
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform