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


ropensci/beautier documentation built on July 9, 2024, 6:14 a.m.