Skip to content

Commit f08cc03

Browse files
committed
distribute interface file
1 parent 6664805 commit f08cc03

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

R/interface.R renamed to R/classes.R

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,4 @@ text <- function(x) {
1414

1515
regex <- function(x) {
1616
new("regex", value = x)
17-
}
18-
19-
str_count <- function(l, pattern) {
20-
switch(
21-
class(pattern),
22-
text = str_text_count(l, pattern@value),
23-
regex = str_regex_count(l, pattern@value),
24-
character = str_regex_count(l, pattern)
25-
)
2617
}

0 commit comments

Comments
 (0)