Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Community > Tech > [help] Strumenti per la ricerca avanzata nei codici sorgenti
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
cato
Wild boys always shine

User info:
Registered: Nov 2001
Posts: 5608 (0.63 al dì)
Location: lecco
Corso: F28
Anno: dottore
Time Online: 38 Days, 5:42:41 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
[help] Strumenti per la ricerca avanzata nei codici sorgenti

Oltre al classico grep e all'oscuro XPATH che strumenti si possono usare per fare delle ricerche nei codici sorgenti del tipo:

"riportami i nomi dei file dove le variabili utilizzate nelle getParameter sono utilizzate nelle document.write o in operazioni tra stringhe"

per ora me la cavo usando grep, ma non mi trovo molto a mio agio.
XPATH (pmd per eclipse) mi sembra una buona strada ma non riesco ancora a costruire delle query complesse.

mi chiedevo che altre strade seguire, pensavo al perl, se qualcuno ha dei tutorial o dei suggerimenti sono tutti ben accetti.

__________________

code:
  , ,  | | Me@Flickr  [ov0] | | my photo Blog  {| |} |@| Pallavolo La Nuova Rossa Milano --"-"--| | -------| | "If You Can't Open It, You Don't Own It"

28-08-2006 08:43
Click Here to See the Profile for cato Click Here to See the Blog of cato Click here to Send cato a Private Message Visit cato's homepage! Find more posts by cato Add cato to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
DeepBlue
tired guy

User info:
Registered: Sep 2003
Posts: 4258 (0.52 al dì)
Location: CSN
Corso: Info tlc
Anno:
Time Online: 52 Days, 8:40:31 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Se vuoi buttarti sul perl (che se conosci C e PHP è di facile assimilazione), ti indirizzerei su questo link:

http://www.troubleshooters.com/code...erl/perlreg.htm

che da una panoramica sulle regex in perl.

Ovviamente è solo una BREVE panoramica (nel libro che sto leggendo ci sono quasi 100 pagine dedicate solo al pattern matching), ma può aiutarti a farti un'idea di quello a cui andrai incontro.

Avevo anche un altro link sulle regex in perl, ma non lo trovo. Se hai pazienza, questa sera quando arrivo a casa te lo posto.

__________________
~ get Debian! ~ get FreeBSD! ~ get OpenBSD! ~

28-08-2006 09:19
Click Here to See the Profile for DeepBlue Click Here to See the Blog of DeepBlue Click here to Send DeepBlue a Private Message Find more posts by DeepBlue Add DeepBlue to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 17:56.    Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.069 seconds (41.62% PHP - 58.38% MySQL) con 24 query.