Monday, December 2, 2013

Re: improving Vim - Kickstarter - brainstorming - goals - who wants to join?


On Dec 2, 2013 7:36 PM, "BPJ" <bpj@melroch.se> wrote:
>
> 2013-12-02 15:56, Nikolay Pavlov skrev:
>
>>  > > - Unicode support in regular expressions.
>>  > Can you also provide a simple use case, here ?
>>
>> How do you match a Russian word? This will be /\b\p{Cyrillic}+\b/
>> in Perl. There is a big bunch of Unicode properties that you can
>> place inside figure braces there and they are there for a reason.
>> The most severe are more general groups: e.g. what is the regex
>> for matching variable name in python 3 (ignore reserved words for
>> simplicity)? Hint: it is not \<\a\w*\>: Python 3 supports using
>> non-ASCII in variable names.
>>
>
> Maybe it would be possible to find some way to build Vim with PCRE
> with Unicode support instead of or in addition to Vim's native
> regex engine?

I do not think making PCRE work with vim buffer representation is easier. In fact, I think the opposite. Not to mention that you need make it work with buffers representation and additionally support vim-specific stuff like \%V.

> /bpj
>
>
> --
> --
> 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/groups/opt_out.

--
--
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/groups/opt_out.

No comments:

Post a Comment