in reply to regex with multiple matches, missing first match?

Hmm, your code works for me. I quoted the assignment to $line:
my $line="1 | 0.116 0.088 0.173 0.624";
The regexp matches as expected in this case. Are you certain that this is the version of the code that produces the problem?

CU
Robartes-