From 98c072fc2afab530fdc97808fe98463747fe06c0 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Wed, 4 Jul 2012 18:28:26 +0900 Subject: [PATCH] updated regexp doesn't use third match --- anki/template/furigana.py | 1 - 1 file changed, 1 deletion(-) diff --git a/anki/template/furigana.py b/anki/template/furigana.py index ce247ed6e..331028de4 100644 --- a/anki/template/furigana.py +++ b/anki/template/furigana.py @@ -10,7 +10,6 @@ r = r' ?([^ >]+?)\[(.+?)\]' ruby = r'\1\2' def noSound(repl): - repl += r"\3" def func(match): if match.group(2).startswith("sound:"): # return without modification