On 06/17/2011 11:00 PM, ZyX wrote:
Reply to message «Re: How to write command for select range of Chinese text»,
sent 09:17:23 17 June 2011, Friday
by Tony Mechelynck:
Well, in Vim /[] constructs are limited to approximately 256 character
values (or maybe 257)
1. 257 exactly.
2. Not
you might try to identify hanzi as anything above 0xFF: assuming
'nocompatible' mode, searching on [^\x00-\xFF] might do it: this
regexp atom matches anything above U+00FF, i.e., any hanzi, but (this
is the caveat) also any non-Latin letter, any non-Western Latin
letter, and the above-mentioned œ
Reply to message «Re: How to write command for select range of Chinese text»,
sent 09:17:23 17 June 2011, Friday
by Tony Mechelynck:
> Well, in Vim /[] constructs are limited to approximately 256 character
> values (or maybe 257)
1. 257 exactly.
2. Not collections themselves, but ranges
You can try [^\x00-xff], which means "all but characters of ascii code 0 to
255".
On Fri, Jun 17, 2011 at 1:17 PM, Tony Mechelynck <
antoine.mechely...@gmail.com> wrote:
> On 13/06/11 15:02, Dennis low wrote:
>
>> Hi
>>
>>
>> I would like to know how to write a command for selecting a range of
>>
On 13/06/11 15:02, Dennis low wrote:
Hi
I would like to know how to write a command for selecting a range of
Chinese text in vim.
As I know I can have a command like [a-zA-Z] for the English text.
But how to write a command for all the Chinese Text.
Example :
我是 Nick Stokes 45678 罪行调查科人员
Hi
I would like to know how to write a command for selecting a range of
Chinese text in vim.
As I know I can have a command like [a-zA-Z] for the English text.
But how to write a command for all the Chinese Text.
Example :
我是 Nick Stokes 45678 罪行调查科人员
介意我问你些问题吗?
I would to select all the