Learn R Programming

todor (version 0.1.1)

find_pattern: Find pattern

Description

Find patterns like # TODO text #TODO Test this thing. #TODO: Test this thing. #TODO - Test this thing. <!-- TODO Test this thing. --> <!-- TODO: Test this thing. --> <!-- TODO - Test this thing. -->

Usage

find_pattern(text, patterns = c("TODO", "FIXME"))

Arguments

text

character with text

patterns

character vector

Value

character with pattern in brackets or NULL