rx_seek_prefix | R Documentation |
This function facilitates matching by providing assurances for surrounding symbols/groups of symbols. It allows for building expressions that are dependent on context of occurrence.
rx_seek_prefix(.data = NULL, value)
rx_seek_suffix(.data = NULL, value)
.data |
Expression to append, typically pulled from the pipe |
value |
Exact expression to match |
# this will match anything between square brackets
rx() %>%
rx_seek_prefix("[") %>%
rx_anything("lazy") %>%
rx_seek_suffix(']')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.