A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2000-August/008013.html below:

[Python-Dev] SRE incompatibility

[Python-Dev] SRE incompatibilitySjoerd Mullender sjoerd@oratrix.nl
Mon, 07 Aug 2000 18:19:59 +0200
Is this problem ever going to be solved or is it too hard?
If it's too hard, I can fix xmllib to not depend on this.  This
incompatibility is the only reason I'm still not using sre.

In case you don't remember, the regexp that is referred to is
regexp = '(([a-z]+):)?([a-z]+)$'

On Wed, Jul 5 2000 "Fredrik Lundh" wrote:

> sjoerd wrote:
> 
> > >>> re.match(regexp, 'smil').group(0,1,2,3)
> > ('smil', None, 's', 'smil')
> > >>> import pre
> > >>> pre.match(regexp, 'smil').group(0,1,2,3)
> > ('smil', None, None, 'smil')
> > 
> > Needless to say, I am relying on the third value being None...
> 
> I've confirmed this (last night's fix should have solved this,
> but it didn't).  I'll post patches as soon as I have them...
> 
> </F>
> 
> 

-- Sjoerd Mullender <sjoerd.mullender@oratrix.com>



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4