Find the first line that satisfies a regex
find_first_regex_line(lines, regex)
lines
lines of text
regex
the regex as text
index of the line
Richèl J.C. Bilderbeek