commit | 718fa3f00854a4c96e5f715df8c0538ac771e181 | [log] [tgz] |
---|---|---|
author | Hao Zhu <haozhu233@gmail.com> | Wed Aug 19 08:23:28 2020 -0400 |
committer | Hao Zhu <haozhu233@gmail.com> | Wed Aug 19 08:23:28 2020 -0400 |
tree | 062e93d49a59b865b03f3e54c20bd5d0d4def43f | |
parent | 4e34cd8a0062ccdc0f5cbec28cd41ae6e1ad6036 [diff] [blame] |
Fixed #396
diff --git a/R/util.R b/R/util.R index b156260..4e5274f 100644 --- a/R/util.R +++ b/R/util.R
@@ -170,3 +170,7 @@ return(ifelse(nchar(x) != origin_len, stringr::str_remove(x, "\\\\\\}$"), x)) } +sim_double_escape <- function(x) { + return(sub("\\\\", "\\\\\\\\", x)) +} +