module.exports = function (string) {
  return string.replace(/[-\\^$*+?.()|[\]{}]/g, "\\$&")
}

@@ -20,22 +20,17 @@
 nction (
-string
+x
 ) %7B%0A  re
@@ -38,14 +38,20 @@
 urn 
-s
+x.toS
 tring
+()
 .rep

Convert to string automatically