in reply to Regxp: signaling when to stop
If your idea is sufficient, here's how to do it:
assuming that $_ contains the line you're parsing. If whitespace is inconsistent, you can canonicalize it with,my ($name) = m/sequence (.*?) consists/i;
before applying the match.$_ = join ' ', split;
After Compline,
Zaxo
|
|---|