changeset 2625:b25faa72dd5b

creole parser: remove unneeded re.I(GNORECASE)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 12 Aug 2007 13:15:26 +0200
parents 3d30e923448f
children 507ed8d9748a 9bbe70281718
files MoinMoin/parser/text_creole.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/parser/text_creole.py	Fri Aug 10 12:10:20 2007 +0200
+++ b/MoinMoin/parser/text_creole.py	Sun Aug 12 13:15:26 2007 +0200
@@ -104,7 +104,7 @@
 
     # For splitting table cells:
     cell_rule = r'\|\s* ( (?P<head> [=][^|]+) | (?P<cell> ((%(link)s) |(%(macro)s) |(%(image)s) |(%(code)s) | [^|] )+)  )\s*' % inline_tab
-    cell_re = re.compile(cell_rule, re.X|re.I|re.U)
+    cell_re = re.compile(cell_rule, re.X|re.U)
 
     # For link descriptions:
     link_rules = r'|'.join([
@@ -112,11 +112,11 @@
             _get_rule('break', inline_tab),
             _get_rule('char', inline_tab),
     ])
-    link_re = re.compile(link_rules, re.X|re.I|re.U)
+    link_re = re.compile(link_rules, re.X|re.U)
 
     # For lists:
     item_rule = r'(?P<item> ^\s* (?P<item_head> [\#*]+ ) \s* (?P<item_text>.*?) $)'
-    item_re = re.compile(item_rule, re.X|re.I|re.U|re.M)
+    item_re = re.compile(item_rule, re.X|re.U|re.M)
 
     # For block elements:
     block_rules = '|'.join([