summaryrefslogtreecommitdiffstats
path: root/Demo/scripts/update.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/scripts/update.py')
-rwxr-xr-xDemo/scripts/update.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Demo/scripts/update.py b/Demo/scripts/update.py
index 32ad6c8..c936026 100755
--- a/Demo/scripts/update.py
+++ b/Demo/scripts/update.py
@@ -8,10 +8,10 @@
import os
import sys
-import regex
+import re
-pat = '^\([^: \t\n]+\):\([1-9][0-9]*\):'
-prog = regex.compile(pat)
+pat = '^([^: \t\n]+):([1-9][0-9]*):'
+prog = re.compile(pat)
class FileObj:
def __init__(self, filename):