Den tis 7 sep. 2021 14:01Steve Dondley <[email protected]> skrev:

> OK, looks like the type of quotes makes the difference.


I don't think syntax pattern strings follow the rules for ordinary quoted
strings since you can use any punctuation character as delimiter just like
with :s, and like with :s forward slash seems to be the standard, but if
the pattern contains forward slashes you can use some other character which
does not occur in the pattern.

However it is not clear to me whether single quotes are in any way special
here. It seems :h :syn-pattern does not mention anything on it. Does anyone
know? (I'm curious! :-)


>
>
>

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/CADAJKhAioRngnrARjSh0Z%3D3wecrS%3DdMcdE1c6im9oh%2BDd4ZODw%40mail.gmail.com.

Reply via email to