diff --git a/vimscript.md b/vimscript.md index 8a6cc995b..65db68ea7 100644 --- a/vimscript.md +++ b/vimscript.md @@ -281,8 +281,8 @@ a isnot b ### Regexp matches ```vim -"hello" =~ /x/ -"hello" !~ /x/ +"hello" =~ '/x/' +"hello" !~ '/x/' ``` ### Single line