<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/sre.py, branch 2.2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/sre.py?h=2.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/sre.py?h=2.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2002-10-14T12:21:16Z</updated>
<entry>
<title>Add finditer to __all__ (when defining it at all).</title>
<updated>2002-10-14T12:21:16Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2002-10-14T12:21:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=45c08a9fcc5bf589baa20f9fd1cd43e0609566b0'/>
<id>urn:sha1:45c08a9fcc5bf589baa20f9fd1cd43e0609566b0</id>
<content type='text'>
SF bug 585882.  Will forward-port.
</content>
</entry>
<entry>
<title>added finditer sanity check</title>
<updated>2001-10-28T20:15:40Z</updated>
<author>
<name>Fredrik Lundh</name>
<email>fredrik@pythonware.com</email>
</author>
<published>2001-10-28T20:15:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b7747e2a2dee73fd076359f8001b9f0a300cbbf8'/>
<id>urn:sha1:b7747e2a2dee73fd076359f8001b9f0a300cbbf8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(experimental) "finditer" method/function.  this works pretty much</title>
<updated>2001-10-24T22:16:30Z</updated>
<author>
<name>Fredrik Lundh</name>
<email>fredrik@pythonware.com</email>
</author>
<published>2001-10-24T22:16:30Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=703ce8122cadd68a4260318f44725398fc3a383c'/>
<id>urn:sha1:703ce8122cadd68a4260318f44725398fc3a383c</id>
<content type='text'>
like findall, but returns an iterator (which returns match objects)
instead of a list of strings/tuples.
</content>
</entry>
<entry>
<title>fixed character set description in docstring (SRE uses Python</title>
<updated>2001-10-21T21:48:30Z</updated>
<author>
<name>Fredrik Lundh</name>
<email>fredrik@pythonware.com</email>
</author>
<published>2001-10-21T21:48:30Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=dac58492aa3bf476fa0b4b586edababfe3aaca53'/>
<id>urn:sha1:dac58492aa3bf476fa0b4b586edababfe3aaca53</id>
<content type='text'>
strings, not C strings)

removed USE_PYTHON defines, and related sre.py helpers

skip calling the subx helper if the template is callable.
interestingly enough, this means that

	def callback(m):
	    return literal
	result = pattern.sub(callback, string)

is much faster than

	result = pattern.sub(literal, string)
</content>
</entry>
<entry>
<title>sre.Scanner fixes (from Greg Chapman).  also added a Scanner sanity</title>
<updated>2001-10-21T18:04:11Z</updated>
<author>
<name>Fredrik Lundh</name>
<email>fredrik@pythonware.com</email>
</author>
<published>2001-10-21T18:04:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1296a8d77e6701d18090c24853cd098f12ef069a'/>
<id>urn:sha1:1296a8d77e6701d18090c24853cd098f12ef069a</id>
<content type='text'>
check to the test suite.

added a few missing exception checks in the _sre module
</content>
</entry>
<entry>
<title>rewrote the pattern.sub and pattern.subn methods in C</title>
<updated>2001-10-21T16:47:57Z</updated>
<author>
<name>Fredrik Lundh</name>
<email>fredrik@pythonware.com</email>
</author>
<published>2001-10-21T16:47:57Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=bec95b9d8825b39cff46a8c645fa0eeb8409854e'/>
<id>urn:sha1:bec95b9d8825b39cff46a8c645fa0eeb8409854e</id>
<content type='text'>
removed (conceptually flawed) getliteral helper; the new sub/subn code
uses a faster code path for literal replacement strings, but doesn't
(yet) look for literal patterns.

added STATE_OFFSET macro, and use it to convert state.start/ptr to
char indexes
</content>
</entry>
<entry>
<title>SRE bug #441409:</title>
<updated>2001-10-18T19:30:16Z</updated>
<author>
<name>Fredrik Lundh</name>
<email>fredrik@pythonware.com</email>
</author>
<published>2001-10-18T19:30:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=397a654791e6bc8b108945e45e7d1393cc6f32d4'/>
<id>urn:sha1:397a654791e6bc8b108945e45e7d1393cc6f32d4</id>
<content type='text'>
    compile should raise error for non-strings
SRE bug #432570, 448951:
    reset group after failed match

also bumped version number to 2.2.0
</content>
</entry>
<entry>
<title>fixed #449964: sre.sub raises an exception if the template contains a</title>
<updated>2001-09-18T20:55:24Z</updated>
<author>
<name>Fredrik Lundh</name>
<email>fredrik@pythonware.com</email>
</author>
<published>2001-09-18T20:55:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=59b68656f846973840953220c4780f3558b59fb8'/>
<id>urn:sha1:59b68656f846973840953220c4780f3558b59fb8</id>
<content type='text'>
\g&lt;x&gt; group reference followed by a character escape

(also restructured a few things on the way to fixing #449000)
</content>
</entry>
<entry>
<title>an SRE bugfix a day keeps Guido away...</title>
<updated>2001-09-18T18:47:09Z</updated>
<author>
<name>Fredrik Lundh</name>
<email>fredrik@pythonware.com</email>
</author>
<published>2001-09-18T18:47:09Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=21009b9c6fc40b25fcb30ee60d6108f235733e40'/>
<id>urn:sha1:21009b9c6fc40b25fcb30ee60d6108f235733e40</id>
<content type='text'>
#462270: sub-tle difference between pre.sub and sre.sub.  PRE ignored
an empty match at the previous location, SRE didn't.

also synced with Secret Labs "sreopen" codebase.
</content>
</entry>
<entry>
<title>Convert docstring to "raw" string.</title>
<updated>2001-09-04T19:20:06Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2001-09-04T19:20:06Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9f5b822fb3aa08d3cf4a89d33c6c69ad1843a661'/>
<id>urn:sha1:9f5b822fb3aa08d3cf4a89d33c6c69ad1843a661</id>
<content type='text'>
</content>
</entry>
</feed>
