count_substring_regex | R Documentation |
stringi has no function that search within substring without memory creating it. This function solve that. Unlike count_substring_fixed, this function does not need to memory copy substring.
count_substring_regex(sequence, start, end, pattern)
sequence |
A sequence to map. |
start |
Start positions. |
end |
End positions. |
pattern |
A regex pattern to search for within start and end positions. |
A numeric vector of count.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.