Skip to content

Commit b344867

Browse files
committed
Remove no longer used function
1 parent 5ec21fe commit b344867

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

R/utils.R

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,6 @@ magrittr::`%>%`
44

55
null <- function(...) invisible()
66

7-
escape_regex <- function(x) {
8-
chars <- c(
9-
"*",
10-
".",
11-
"?",
12-
"^",
13-
"+",
14-
"$",
15-
"|",
16-
"(",
17-
")",
18-
"[",
19-
"]",
20-
"{",
21-
"}",
22-
"\\"
23-
)
24-
gsub(
25-
paste0("([\\", paste0(collapse = "\\", chars), "])"),
26-
"\\\\\\1",
27-
x,
28-
perl = TRUE
29-
)
30-
}
31-
327
maybe_restart <- function(restart) {
338
if (!is.null(findRestart(restart))) {
349
invokeRestart(restart)

0 commit comments

Comments
 (0)