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.utils import checksum, genID
from anki.lang import _ from anki.lang import _
regexps = ("(\[sound:([^]]+)\])", regexps = ("(?i)(\[sound:([^]]+)\])",
"(<img[^>]+src=[\"']?([^\"'>]+)[\"']?[^>]?)") "(?i)(<img[^>]+src=[\"']?([^\"'>]+)[\"']?[^>]?)")
# Tables # Tables
########################################################################## ##########################################################################