Index: copydir.py
===================================================================
--- copydir.py	(revision 7538)
+++ copydir.py	(working copy)
@@ -421,11 +421,11 @@
 class LaxTemplate(string.Template):
     # This change of pattern allows for anything in braces, but
     # only identifiers outside of braces:
-    pattern = re.compile(r"""
+    pattern = """
     \$(?:
       (?P<escaped>\$)             |   # Escape sequence of two delimiters
       (?P<named>[_a-z][_a-z0-9]*) |   # delimiter and a Python identifier
       {(?P<braced>.*?)}           |   # delimiter and a braced identifier
       (?P<invalid>)                   # Other ill-formed delimiter exprs
     )
-    """, re.VERBOSE | re.IGNORECASE)
+    """

