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 May 31, 2023, 6:22 p.m.