Tony Mechelynck wrote:
> On 24/08/08 01:58, .幻想之诚 wrote:
> > Is that a bug, Tony?
>
> I think so; but I suppose Bram would know better than I what causes it.
>
> A little trial and error seems to indicate that if the lower and upper
> bounds differ by 256 or less (i.e. if there are at most 257 values in
> range) the search proceeds OK, but if they differ by more than that we
> get E16: Invalid range.
>
> For instance:
> /[一-伀]
> (4E00 to 4F00) OK
> /[一-企]
> (4E00 to 4F01) error
> /[丐-伐]
> (4E10 to 4F10) OK
> /[丐-休]
> (4E10 to 4F11) error
>
> I'm (trying to) redirect this thread to the vim_dev list.
Currently only ranges of 256 characters are supported. There probably
is a todo item somewhere to support more. It's not all that easy to
implement.
--
No engineer can take a shower without wondering if some sort of Teflon coating
would make showering unnecessary.
(Scott Adams - The Dilbert principle)
/// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---