Regular expressions to be matched against the names of DT. If length(patterns) > 1 the patterns are concatenated using alternation.
.and
Character or integer positions of names to select, regardless of whether or not they are matched by patterns.
.but.not
Character or integer positions of names to drop, regardless of whether or not they are matched by patterns or whether they are explicitly added by .and.
ignore.case, perl, fixed, useBytes, invert
Arguments passed to grep. Note that perl = TRUE by default (unlike grep) unless fixed = TRUE (and perl is missing).
.warn.fixed.mismatch
(logical, default: TRUE) If TRUE, the default, selecting fixed = TRUE with perl = TRUE or ignore.case = TRUE results in perl and ignore.case being reset to FALSE with a warning (as in grep), even if it makes no difference to the columns eventually selected. If FALSE unambiguous results are allowed; if ignore.case = TRUE and fixed = TRUE, the result is unambiguous if select_grep(DT, tolower(patterns), fixed = TRUE) and select_grep(DT, toupper(patterns), fixed = TRUE) are identical.