diff --git a/stardict.cc b/stardict.cc
index 4feb4b81..d76fefc5 100644
--- a/stardict.cc
+++ b/stardict.cc
@@ -351,7 +351,7 @@ string StardictDictionary::handleResource( char type, char const * resource, siz
// Handle links to articles
- QRegExp linksReg( "]*)href\\s*=\\s*['\"](bword://)?([^'\"]+)['\"]" );
+ QRegExp linksReg( "]*)href\\s*=\\s*['\"](bword://)?([^'\"]+)['\"]", Qt::CaseInsensitive );
linksReg.setMinimal( true );
int pos = 0;