MRAB wrote:
On Oct 24, 6:29 am, Peng Yu <[EMAIL PROTECTED]> wrote:
Hi,

It seem that the current python requires fixed-width pattern for look-
behind. I'm wondering if there is any newly development which make
variable-width pattern available for look-behind.

The re module is currently being worked on, but unfortunately it won't
appear until Python 2.7. Variable-width look-behind is one of the
improvements.

Most probably a backport to Python 2.6 or even 2.5 under a different module name like re_ng wouldn't be too difficult to do for anybody that needs the new functionality and knows a bit about building extension modules.

-- Gerhard

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to