Searched refs:replrepl (Results 1 – 1 of 1) sorted by relevance
211 replrepl = {'{{':'{{[{][{]}}','}}': '{{[}][}]}}', '[[':'{{\[\[}}',']]': '{{\]\]}}'} variable212 replre = re.compile('|'.join(re.escape(k) for k in replrepl.keys()))354 retlines = [replre.sub(lambda m: replrepl[m.group(0)], line) for line in retlines]