find_first_regex_line: Find the first line that satisfies a regex

View source: R/find_first_regex_line.R

find_first_regex_lineR Documentation

Find the first line that satisfies a regex

Description

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(s)

Richèl J.C. Bilderbeek


beautier documentation built on Nov. 2, 2023, 5:08 p.m.