Description Usage Format Details Examples
Anchors for regular expression pattern string.
1 2 3 4 5 |
An object of class numeric
of length 1.
UNANCHORED - No anchoring
ANCHOR_START - Anchor at start only
ANCHOR_BOTH - Anchor at start and end
1 2 3 4 5 | re2_match("This is an apple.", "(is)",anchor = ANCHOR_BOTH)
re2_match("This is an apple.", "(is)",anchor = UNANCHORED)
re2_match("This is an apple.", "(is)",anchor = ANCHOR_START)
re2_match("This is an apple.", "(This)",anchor = ANCHOR_START)
re2_match("This is an apple.", "(This)",anchor = ANCHOR_BOTH)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.