YunJian <tld...@yahoo.com.cn> added the comment: Well, maybe I had never understood this though I use RE oftenly, this is the first time I met this and in my mind capture should not perform like this, thank you very much!
________________________________ 发件人: Matthew Barnett <rep...@bugs.python.org> 收件人: tld...@yahoo.com.cn 发送日期: 2012年4月6日, 星期五, 上午 12:08 主题: [issue14510] Regular Expression "+" perform wrong repeat Matthew Barnett <pyt...@mrabarnett.plus.com> added the comment: If a capture group is repeated, as in r'(\$.)+', only its last match is returned. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14510> _______________________________________ ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14510> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com