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


richelbilderbeek/beastscriptr documentation built on April 9, 2024, 2:28 p.m.