in reply to Regex trouble
Here's how I modified it:
Outputs:my $R = 'dounut_s12x30'; print "$1, $2\n" if $R !~ /^i|^ddi/ and $R =~ /^[a-z_]+(\d+\.?\d*)[a-z_]?(\d+\.?\d*)? +/;
Is this what you are asking?
Russ
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: Regex trouble
by cyclone (Novice) on May 17, 2000 at 00:33 UTC | |
by Russ (Deacon) on May 17, 2000 at 03:15 UTC | |
by cyclone (Novice) on May 17, 2000 at 06:11 UTC |