ZyX (?) wrote:
> I need to test whether character is in range [\u00A0-\uD7FF] (actual
> collection has more items, see printable characters definition in YAML
> 1.2 RFC), but this throws «Invalid range» error. After some
> experiments, I found that character ranges that are wider then 0x100
> also result in error:
>
> :echo ''=~'[\uD6FE-\uD7FF]'
> E16: Invalid range
> 0
> :echo ''=~'[\uD6FF-\uD7FF]'
> 0
> :echo ''=~'[\uD6FE-\uD7FE]'
> 0
>
> Tested on latest vim 7.3. This should be either fixed or at least
> mentioned in documentation.
It's a known limitation. I thought it was mentioned somewhere, can't
find it now. I'll add a comment.
--
GALAHAD turns back. We see from his POV the lovely ZOOT standing by him
smiling enchantingly and a number of equally delectable GIRLIES draped
around in the seductively poulticed room. They look at him smilingly and
wave.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// 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.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php