commit | 9b05ce1f1e52bb639d92ae1b83f0528244ae2b1d | [log] [tgz] |
---|---|---|
author | Hao Zhu <haozhu233@gmail.com> | Sat Aug 26 11:02:23 2017 -0400 |
committer | Hao Zhu <haozhu233@gmail.com> | Sat Aug 26 11:02:23 2017 -0400 |
tree | b655b0a7d050a7e59cd6599cba1828d4c3462323 | |
parent | a0a38519b6d9c4007b3b08a0f85dbe096dcb320f [diff] [blame] |
Fix #47
diff --git a/R/util.R b/R/util.R index 7f54e2a..7b7c158 100644 --- a/R/util.R +++ b/R/util.R
@@ -55,8 +55,8 @@ x <- gsub("\\$", "\\\\\\$", x) x <- gsub("\\(", "\\\\(", x) x <- gsub("\\)", "\\\\)", x) - x <- gsub("\\[", "\\\\]", x) - x <- gsub("\\[", "\\\\]", x) + x <- gsub("\\[", "\\\\[", x) + x <- gsub("\\]", "\\\\]", x) x <- gsub("\\{", "\\\\{", x) x <- gsub("\\}", "\\\\}", x) x <- gsub("\\*", "\\\\*", x)