if I do the print without changing anything it works but when i try to remove the first 2 digits if fails and the output i get is :$_=~ /^' PJOB='(.*)' PSET='(.*)' PJNO='(.*)' WORKDAY='/; $predlnr=$3; $predlnr =~ s/^00//; $jobstation=$jobsetstation{$2}; print "follows $jobstation\#$2.${1}_$predlnr\n\n\n";
Edited 2003-03-05 by mirod: changed title
In reply to Regex Capture Fails (was: stupid $1) by miller
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |