Skip to contents

Find the first line that satisfies a regex

Usage

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