test_that("multiplication works", {
expect_equal(
str_escape(".^$|*+?{}[]()"),
"\\.\\^\\$\\|\\*\\+\\?\\{\\}\\[\\]\\(\\)"
)
expect_equal(str_escape("\\"), "\\\\")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.