Scrape colored line content from Dotty/Zinc rendered output. Looks for lines matching the pattern |<code> and extracts the code part.
|<code>
A fallback value if no matching line is found
The lines from the rendered error output
The scraped line content or the fallback