Match a tab character.

tab(.data = NULL)

Arguments

.data

Expression to append, typically pulled from the pipe %>%

Details

This function is looks for tabs with the following expression: \t

  1. Tab character: https://codepoints.net/U+0009

Examples

tab()
#> [1] "\\t"
# create an expression x <- tab() # create input string <- "foo\tbar" # extract match regmatches(string, regexpr(x, string))
#> [1] "\t"