I have the following regexp:
@matches = $params{f} =~ /(%[aAbBcCdDehHIjmMnprStTuUVwWyY%])/g;
If I have a script:
[snip]
my @matches;
my ( %params );
getopts('DRSa:f:s:d:r:b:w:n:h?', \%params);
print "$params{f}\n";
print "@matches\n";
[snip]
I am passing -f "some string" in on the command line.
$params{f} = "%E %e %d";
output:
%E %e %d
%d
So %e is not found....
$params{f} = "%d %e";
output:
%d %e
%e
And now no %d.
Any ideas why the first match is being lost ?
-----------------------------------------
Craig Moynes
[EMAIL PROTECTED]