find_last_regex_line: Find the index of the last line that matches a regex

View source: R/find_last_regex_line.R

find_last_regex_lineR Documentation

Find the index of the last line that matches a regex

Description

Find the index of the last line that matches a regex

Usage

find_last_regex_line(lines, regex)

Arguments

lines

lines of text

regex

regex string

Value

index of the line

Author(s)

Richèl J.C. Bilderbeek


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