Find the first line that satisfies a regex

find_first_regex_line(lines, regex)

Arguments

lines

lines of text

regex

the regex as text

Value

index of the line

Author

Richèl J.C. Bilderbeek