Audrius Kažukauskas wrote:

> 2013 m. gegužė 31 d., penktadienis 23:15:07 UTC+3, Bram Moolenaar rašė:
> > Patch 7.3.1083
> > 
> > Problem:    New regexp engine: Does not support \%^ and \%$.
> > 
> > Solution:   Support matching start and end of file.
> 
> With this patch applied and using Python syntax script from 
> http://www.vim.org/scripts/script.php?script_idy0 I get this error when 
> opening any .py file:
> 
>   Error detected while processing /home/audrius/.vim/syntax/python.vim:
>   line  174:
>   E16: Invalid range
> 
> With :set re=1 there's no error.

I don't see an error when opening a Python file.
So what is in that line of your python.vim?
The URL you gave doesn't work.  Must be this one:
http://www.vim.org/scripts/script.php?script_id=790

The problem appears to be: [0-9A-Za-z-_.]
That's indeed an invalid range.
The old regexp engine somehow accepted it anyway.
I suppose we need to make the new regexp engine do the same.

Thanks for reporting the problem!

-- 
hundred-and-one symptoms of being an internet addict:
38. You wake up at 3 a.m. to go to the bathroom and stop and check your e-mail
    on the way back to bed.

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.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

--- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to