Thanks!!! I don't know why eregi doesn't do it's job well...
example:
$proc = 'GESTIONE_DOC_PERSONALI'
if (eregi('^[(/tr_)(l_)(f_gd_)]', $proc))
result true, but should be false
[code=php]if (eregi('^[(/tr_)(l_)]',$proc))
[/code]
result false, and it's ok
in the fact, f_gd_ cause the eregi to return true I don't know why