Closed
Description
lint("gregexpr(pattern = pattern, data, perl = TRUE, ...)\n", fixed_regex_linter())
# <text>:1:20: warning: [fixed_regex_linter] This regular expression is static, i.e., its matches can be expressed as a fixed substring expression, which is faster to compute. Here, you can use "pattern" with fixed = TRUE.
# gregexpr(pattern = pattern, data, perl = TRUE, ...)
# ^~~~~~~