check_pattern | R Documentation |
Checks an input_value against a regex pattern to determine if the input_value is valid. This method is used internally and not for intended for general use.
check_pattern(I, input_value, match)
## S4 method for signature 'mw_input_item'
check_pattern(I, input_value, match)
I |
An mw_input_item. |
input_value |
The value for the input item (character). |
match |
The type of match. One of "exact" or "partial". |
TRUE if input matches the pattern, or throws an error.
check_pattern(input_item$study_id,'ST000001','exact')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.