Amadeus Demarzi wrote:

> With the update to vim 7.4, it seems as if this particular regex just
> doesn't match in particular cases in 7.4, but it worked fine in 7.3.
> 
> syntax region  jsRegexpString    
> start=+\(\(\(return\|case\)\s\+\)\@<=\|\(\([)\]"']\|\d\|\w\)\s*\)\@<!\)/\(\*\|/\)\@!+
>  skip=+\\\\\|\\/+ end=+/[gimy]\{,4}+ 
> contains=jsSpecial,jsRegexpCharClass,jsRegexpGroup,@jsRegexpSpecial,@htmlPreproc
>  oneline
> 
> Does not match in 7.4, but did in 7.3:
> var x = /test/;
> 
> Matches in 7.4 and 7.3:
> return /test/;
> 
> I am posting in here in case there is a simple quickfix that I am
> overlooking. Otherwise I can attempt to put together a more
> reproducible test case.

I'll see if I can reproduce it.  Please try to come up with a simple
search pattern that fails.  You can use 'regexpengine' to select the old
code.  A syntax command makes it difficult to pinpoint the problem.

-- 
>From "know your smileys":
 ~#:-(  I just washed my hair, and I can't do nuthin' with it.

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


Raspunde prin e-mail lui