View source: R/regex_content_parameter.R
regex_content_parameter | R Documentation |
This function constructs a regex pattern for matching the content of a parameter in a function.
It uses the base::paste0
function to construct the regex pattern.
regex_content_parameter(parameter)
parameter |
The parameter whose value is to be searched in a function. |
A regex pattern as a character string.
# Create a parameter name
parameter <- "my_parameter"
# Construct a regex pattern for matching the content of the parameter
pattern <- regex_content_parameter(parameter)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.