Expandplf_updates.txt:- /****************************ORPHANED FILES*************************** +/ //source/modem/hdr/cp/rel/07.01.00.13.20/inc/hdr.c#2 //source/modem/hdr/cp/rel/07.01.00.13.20/inc/hdrscmgmmcdp.h#2 /*************************** FILES IN VU's***************************/ /******************************* PLF's******************************/ my $expand_line = <Expandplf_updates.txt>; open my $FH, '<', "$expand_line" or die "could not open $expand_plf - +$!"; while (<$FH>) { chomp; print "IN\n"; next unless ( m:(\/\/.+?)#(\d+)$: );//why is the above input not m +atching this line. print "\nMATCH DATA:$1 $2";//doesnt print this
In reply to Regex not matching by perl_mystery
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |