Learn R Programming

beautier (version 2.6.12)

find_last_regex_line: 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)

Value

index of the line

Arguments

lines

lines of text

regex

regex string

Author

Richèl J.C. Bilderbeek