Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can GoFish integrate into VFP IDE like Code References?
Message
 
 
To
30/11/2011 08:59:58
General information
Forum:
Visual FoxPro
Category:
VFPX/Sedna
Miscellaneous
Thread ID:
01529993
Message ID:
01530008
Views:
77
You're no fun ;-) Actually I suspect you're right, because so far I have not been able to get regular expressions to do what I want in Code References.

Has anyone here done anything with GoFish? Obviously Matt Slay has but I haven't seen him around much lately.

>I do not think using regular expressions here will give Mike what he is looking for.
>
>Regular Expressions in Code References search on each line independently, not the entire method/program all at once.
>
>The expression \bdelete\b.+\bsam\b will only find lines that have delete followed by sam on the same line,
>
>I, too, have wanted to be able to looked for modules, rather than lines of code, such as have been requested here, but have never seen anything that would do so.
>
>
>
>>>The title is my question. I downloaded GoFish (latest beta) and took a cursory look at the info about it. I saw examples of calling it from code but didn't notice anything about using it as part of the IDE. The reason I am interested in doing that is I would like to do something that doesn't seem possible in Code References (which I like a lot and use routinely).
>>>
>>>The something is finding modules which contain both of two search strings. This afternoon I was looking for modules which contain "Delete" and the name of a table, let's call it Sam. I tried this in the Search box:
>>>
>>>delete + sam
>>>
>>>It found nothing, which I believe is because it was looking for the concatenated 12 character string.
>>>
>>>As you can see, my question isn't really about GoFish (although all comments about it are welcome). I just want to search for modules containing, anywhere in them, both of two expressions. Any tool that can do that would be great.
>>>
>>>TIA for any guidance.
>>
>>
>>Code references lets you
>>
>>Check 'Use regular expressions' and search for
>>
>>delete.+sam
>>
>>
>>or if you want both words to match entirely
>>
>>\bdelete\b.+\bsam\b
>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform