How to Exclude UVM_ERROR in Regression list?

I have one regression script.
if log have ERROR message then it will give status as FAIL. (otherwise it will give PASS).
but here its grepping UVM_ERROR also.
so how to exclude UVM_ERROR word in this script.?


         .
         .
         .
        system ("grep -F 'ERROR'  ./$testcase.log > Temp.v ");
        open (TEMP , "Temp.v");
         my  @Temp = <TEMP>; my  $error = @Temp;
        if ($error) {
	   system ("mv $testcase.log ../regression/$testcase/.");
           print STATUS "STATUS:\t FAIL\n";
		}   
       else { 

           print STATUS "STATUS:\t PASS\n";
       }

Thanks,

In reply to Rao.Bee:

You want to search on how to use grep to match ‘ERROR’ and not ‘UVM_ERROR’.

In reply to cgales:

thanks cgales,

i have found correct grep command.