<html>

<head>
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
 
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Does anyone know why the following gives &#8216;No module
named re&#8217; error:</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color="#2b91af" face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
color:#2B91AF'>ScriptEngine</span></font><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'> engine =
IronPython.Hosting.<font color="#2b91af"><span style='color:#2B91AF'>Python</span></font>.CreateEngine();</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color="#2b91af" face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
color:#2B91AF'>ScriptScope</span></font><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'> scope =
engine.CreateScope();</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color="#2b91af" face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
color:#2B91AF'>ScriptSource</span></font><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'> src =
engine.CreateScriptSourceFromString( <font color="#a31515"><span style='color:#A31515'>&quot;import re&quot;</span></font>, Microsoft.Scripting.<font color="#2b91af"><span style='color:#2B91AF'>SourceCodeKind</span></font>.Statements
);</span></font></p>

<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'>src.Execute( scope );</span></font><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'></span></font></p>

</div>

</body>

<!--[object_id=#webloyalty.com#]--><P><SPAN class=920560820-04022003><FONT size=1><FONT face=Arial color=#c0c0c0>This transmission may contain information that is privileged, confidential and exempt from disclosure under applicable law.&nbsp; If you, users@lists.ironpython.com, are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED.&nbsp; If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format.&nbsp; [clavin.webloyalty.com]</FONT></FONT></SPAN></P></html>