summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index e0eb73c..3b0397d 100644
--- a/README.md
+++ b/README.md
@@ -160,7 +160,7 @@ regular expressions expand are used directly.
```
let str = "."
let re1 = /./
-let re2 = "$str$re1" # match '.' followed by any character
+let re2 = /$str$re1/ # match '.' followed by any character
```
#### boolean