in reply to Re^2: Extract table from a block of text
in thread Extract table from a block of text

> but the regex to skip the END line might be a bit dangerous because real data might contain a E

That's a misunderstanding, $line holds a sequence number which comes only in exponential notation (like 7E0) iff the flip-flop terminates.

Has nothing to do with the END marker! :)

Cheers Rolf

(addicted to the Perl Programming Language and ☆☆☆☆ :)

Replies are listed 'Best First'.
Re^4: Extract table from a block of text
by Laurent_R (Canon) on Sep 21, 2014 at 12:23 UTC
    Yes, you are absolutely right, I looked at it to quickly and confused $_ and $line. Sorry for that silly comment.