<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://performiq.com/kb/index.php?action=history&amp;feed=atom&amp;title=Python_-_Regular_Expressions</id>
	<title>Python - Regular Expressions - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://performiq.com/kb/index.php?action=history&amp;feed=atom&amp;title=Python_-_Regular_Expressions"/>
	<link rel="alternate" type="text/html" href="https://performiq.com/kb/index.php?title=Python_-_Regular_Expressions&amp;action=history"/>
	<updated>2026-06-05T03:00:25Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://performiq.com/kb/index.php?title=Python_-_Regular_Expressions&amp;diff=1909&amp;oldid=prev</id>
		<title>PeterHarding: New page: =Using the re Module=  &lt;pre&gt; #!/usr/bin/env python #--------------------------------------------------------------------------  import re  ...     if re.match(&#039;esb:&#039;, node_name):       (na...</title>
		<link rel="alternate" type="text/html" href="https://performiq.com/kb/index.php?title=Python_-_Regular_Expressions&amp;diff=1909&amp;oldid=prev"/>
		<updated>2008-04-21T03:53:15Z</updated>

		<summary type="html">&lt;p&gt;New page: =Using the re Module=  &amp;lt;pre&amp;gt; #!/usr/bin/env python #--------------------------------------------------------------------------  import re  ...     if re.match(&amp;#039;esb:&amp;#039;, node_name):       (na...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Using the re Module=&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/usr/bin/env python&lt;br /&gt;
#--------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
import re&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
   if re.match(&amp;#039;esb:&amp;#039;, node_name):&lt;br /&gt;
      (name, cnt) = re.subn(&amp;#039;esb:&amp;#039;, &amp;#039;&amp;#039;, node_name)&lt;br /&gt;
      setattr(service, name, value)&lt;br /&gt;
      print &amp;quot;service.__dict__ -&amp;gt; &amp;#039;%s&amp;#039;&amp;quot; % service.__dict__&lt;br /&gt;
      return&lt;br /&gt;
&lt;br /&gt;
   if re.match(&amp;#039;ns0:&amp;#039;, node_name):&lt;br /&gt;
      (name, cnt) = re.subn(&amp;#039;ns0:&amp;#039;, &amp;#039;&amp;#039;, node_name)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>PeterHarding</name></author>
	</entry>
</feed>