Ryuichi Hayashida wrote:
> 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
I can reproduc it.
--
`When any government, or any church for that matter, undertakes to say to
its subjects, "This you may not read, this you must not see, this you are
forbidden to know," the end result is tyranny and oppression no matter how
holy the motives' -- Robert A Heinlein, "If this goes on --"
/// 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.