Description Usage Arguments Value Constraints See Also Examples
Match pattern
in each element of text
1 2 |
pattern |
string to search for |
text |
FLVector of characters or R vector where matches are sought |
ignore.case |
logical indicating case-sensitivity. Currently always FALSE for FLVectors |
perl |
logical. Should perl-compatible regexps be used? Always FALSE for FLVectors |
fixed |
logical. If TRUE, pattern is a string to be matched as is. For FLVectors, regualar expressions are not supported |
useBytes |
If TRUE the matching is done byte-by-byte rather than character-by-character. Always FALSE for FLVector |
FLVector with position of first match or -1 for no match or R Vector
row FLVectors are not supported currently.
gregexpr
for R function reference implementation.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.