Learn R Programming

beautier (version 2.6.12)

find_first_regex_line: Find the first line that satisfies a regex

Description

Find the first line that satisfies a regex

Usage

find_first_regex_line(lines, regex)

Value

index of the line

Arguments

lines

lines of text

regex

the regex as text

Author

Richèl J.C. Bilderbeek