Hi list, I noticed that E16 occurs with regexp.

set re=1
echo '' =~# '[\uff-\uf0]'
E16: Invalid range
echo '' =~# '[\u3000-\u4000]'
E16: Invalid range

I think this is unintuitive error message because E16 reminds us the range of
commands (for example :0buffer). So I suggest two exclusive options:

- Add a note that the error can occur with regexp at :h E16.
- Change the error message and number.

BTW the behaviour *Limit to a range of 256 chars* differs due to the regex 
engine version.
I could not tell the difference until I dived into the source code. I would 
like some warning
to be written regarding this topic around :h /[.

Thanks in advance,
Ken Hamada

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui