From 97597b95b5323565c685594f93182ef99aa633e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Sat, 18 May 2024 20:41:01 +0200 Subject: README: fix regex example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3