On Friday, July 13, 2018 at 3:05:03 AM UTC-4, Lifepillar wrote:

According to `:h syn-pattern`, syntax patterns are always interpreted
as if 'magic' is on, so \v can be removed.

If I take off the \v it breaks. So there is something wrong with how I am doing 
it.

"\v" means "very magic", not "magic". By removing "\v", the "+" in your first 
pattern
is taken literally, not as a quantifier.

Excellent. That works now.  :)

Then I was misinterpreting the documentation. Apparently,
syntax patterns ignore the 'magic' option, but not explicit
flags in the regexp itself. Which makes sense, after all.

Sorry for the noise,
Life.



--
--
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 vim_use+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to