View source: R/special_characters.R
rx_tab | R Documentation |
Match a tab character.
rx_tab(.data = NULL, inverse = FALSE)
.data |
Expression to append, typically pulled from the pipe |
inverse |
Invert match behavior, defaults to |
This function is looks for tabs with the following
expression: \t
Tab character: https://codepoints.net/U+0009
rx_tab()
rx_tab(inverse = TRUE)
# create an expression
x <- rx_tab()
# create input
string <- "foo\tbar"
# extract match
regmatches(string, regexpr(x, string))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.