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


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