Hello.
I would report a bug of regexp.

* Problem

    "aba" =~# '^\(.\+\).*\1$'

This expression is equivalent to 1 when 'regexpengine' is set to 1.
However, when it is set to 0 or 2, the expression is equivalent to 0.
Backward reference seems to fail.

Note that below expression gets 1 whatever the value of 'regexpengine' is.

    "aa" =~# '^\(.\+\).*\1$'

* Environment
- Vim 7.4-45
- Ubuntu 12.04


Regards,
Hayashida Ryuichi

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