Examples for 'base::grepRaw'


Pattern Matching for Raw Vectors

Aliases: grepRaw

Keywords: utilities

### ** Examples

grepRaw("no match", "textText")  # integer(0): no match
integer(0)
grepRaw("adf", "adadfadfdfadadf") # 3 - the first match
[1] 3
grepRaw("adf", "adadfadfdfadadf", all=TRUE, fixed=TRUE)
[1]  3  6 13
## [1]  3  6 13 -- three matches

[Package base version 4.2.3 Index]