make them case-insensitive too

This commit is contained in:
Damien Elmes 2010-12-13 06:56:04 +09:00
parent 525f44c9c5
commit 9ed9ec79cc

View file

@ -13,8 +13,8 @@ from anki.db import *
from anki.utils import checksum, genID
from anki.lang import _
regexps = ("(\[sound:([^]]+)\])",
"(<img[^>]+src=[\"']?([^\"'>]+)[\"']?[^>]?)")
regexps = ("(?i)(\[sound:([^]]+)\])",
"(?i)(<img[^>]+src=[\"']?([^\"'>]+)[\"']?[^>]?)")
# Tables
##########################################################################