aboutsummaryrefslogtreecommitdiff
path: root/z80count.py
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2019-03-30 21:12:35 +0000
committerJuan J. Martinez <jjm@usebox.net>2019-03-30 21:12:35 +0000
commit593067767cb1cdcf0b722d0efa0df1a53f4be123 (patch)
treeffe0dd7b9eefbd4da95ea7939e314da85a152d2b /z80count.py
parent85547954255e07aeb4a7b17e5805b206e49bc5a3 (diff)
downloadz80count-593067767cb1cdcf0b722d0efa0df1a53f4be123.tar.gz
z80count-593067767cb1cdcf0b722d0efa0df1a53f4be123.zip
Match ignoring case
Diffstat (limited to 'z80count.py')
-rwxr-xr-xz80count.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/z80count.py b/z80count.py
index 58c07f1..422d3ff 100755
--- a/z80count.py
+++ b/z80count.py
@@ -61,7 +61,7 @@ def main():
table = json.load(fd)
for i in range(len(table)):
- table[i]["cregex"] = re.compile(table[i]["regex"] + r"\s?(;.*)?")
+ table[i]["cregex"] = re.compile(table[i]["regex"] + r"\s?(;.*)?", re.I)
our_comment = re.compile(r"(\[[0-9.\s/]+\])")