Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Code references across continuation lines?
Message
 
 
To
22/10/2007 13:46:45
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01262609
Message ID:
01262758
Views:
18
Hi Jim,

The Code references doesn't know anything about line continuation and it runs regular expression against the whole program not line by line. I guess you can craft a regular expression that would match more than one line but I cannot help you with that.

>Is it possible to use regular expressions to search across continuation lines in Code References?
>
>I've had occasion before where I've wanted to look through multiple-line SELECT statements -- looking for instance for instances where I selected from a particular table.
>
>I know how to do this if it's all on the same line ... select.*from mytable ... seems satisfactory.
>
>So, is there anything that could be placed in the regular expression so that it would know to search continuation lines?
>
>Thanks in advance
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform