View source: R/constraints.checkPattern.R
constraints.checkPattern | R Documentation |
Search for pattern matches (value) within a character vector (constraint).
A regular expression is used to test field values.
If the regular expression matches then the value is valid.
The values of this field MUST
conform to the standard
XML Schema regular expression syntax.
constraints.checkPattern(constraint, value)
constraint |
character vector where matches are sought |
value |
character string to be matched |
TRUE if the pattern constraint is met
constraints.checkPattern(constraint = '^test$', value = 'test') constraints.checkPattern(constraint = '^test$', value = 'TEST')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.