Re: Regular expression multiline matching with /m

2002-09-17 Thread david
Reg Smith wrote: > > my $prev_abs="..\\obj\\gsm_gp_flash_prev.abs"; > my $abs_file="..\\obj\\gsm_gp_flash.abs"; > my $months='(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)'; > > # collect the output of NT fc (file compare) command > $diff_abs = `fc /W $abs_file $prev_abs 2>&1`; > > if($diff

Re: Regular expression multiline matching with /m

2002-09-17 Thread Mohd Salman
Hi, Why you add an empty line after the left / , does fc output start by empty line , if not try if($diff_abs =~ /^Comparing files $abs_file and $prev_abs$ ^\*\*\*\*\* $abs_file$ .. .. .. /omi ...etc > >Hello > >I have a perl script that runs a software build on NT4. The final stage >of this bui