powered by
Match a whitespace character.
whitespace(.data = NULL)
Expression to append, typically pulled from the pipe %>%
%>%
Match a whitespace character (one of space, tab, carriage return, new line, vertical tab and form feed). This function is looks for tabs with the following expression: \d
\d
space: https://codepoints.net/U+0020
tab: https://codepoints.net/U+0009
carriage return: https://codepoints.net/U+000D
new line: https://codepoints.net/U+000
vertical tab: https://codepoints.net/U+000B
form feed: https://codepoints.net/U+000C
# NOT RUN { whitespace() # create an expression x <- whitespace() # create input string <- "1 apple" # extract match regmatches(string, regexpr(x, string)) # }
Run the code above in your browser using DataLab