R/par-pattern.R

Defines functions par_pattern

Documented in par_pattern

#' Parameter Pattern
#'
#' @return A string of the regular expression for a parameter name.
#' @export
#'
#' @examples
#' par_pattern()
par_pattern <- function() {
  "[[:alpha:]][[:alnum:]._]*"
}

Try the extras package in your browser

Any scripts or data that you put into this service are public.

extras documentation built on Aug. 5, 2021, 9:07 a.m.