Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can GoFish integrate into VFP IDE like Code References?
Message
De
30/11/2011 08:59:58
 
 
À
30/11/2011 02:58:22
Information générale
Forum:
Visual FoxPro
Catégorie:
VFPX/Sedna
Divers
Thread ID:
01529993
Message ID:
01530006
Vues:
95
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
>
Jim Nelson
Newbury Park, CA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform