powered by
Match a tab character.
rx_tab(.data = NULL, inverse = FALSE)
Expression to append, typically pulled from the pipe %>%
%>%
Invert match behavior, defaults to FALSE (match tabs). Use TRUE to not match tabs.
FALSE
TRUE
This function is looks for tabs with the following expression: \t
\t
Tab character: https://codepoints.net/U+0009
# NOT RUN { rx_tab() rx_tab(inverse = TRUE) # create an expression x <- rx_tab() # create input string <- "foo\tbar" # extract match regmatches(string, regexpr(x, string)) # }
Run the code above in your browser using DataLab