On Sunday, April 17, 2016 at 9:59:05 PM UTC-5, 李哲 wrote:
> https://re2.googlecode.com/hg/doc/syntax.html
>
> I read the article and find a way to match the Chinese in vim, but it doesn't work here. What's wrong with it?
>
> Vim support the perl regex, and I tried the `\v\p{Han}` consider the `magic`, but it doesn't work either.
>
Vim DOESN'T support Perl regex. Why do you think it does? If the help file give that impression, then they need to get fixed.
In particular, Vim doesn't have a "Unicode character class" atom. See :help pattern for the regular expression constructs Vim does support.
--
--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Sunday, April 17, 2016
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment