aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarlson2k <k2k@narod.ru>2013-11-14 22:12:29 +0400
committerKarlson2k <k2k@narod.ru>2013-12-09 00:34:12 +0400
commit09e5640bc80f85f3aababfb6fdecdde7cb8cecc7 (patch)
tree771355d6a9d49116e9b1269824d32f9e94d415cf
parent756b27a080ccbe136dc086327ab3bffa12f1bd0a (diff)
XBMCTinyXML: use new RegExp constructor
-rw-r--r--xbmc/utils/XBMCTinyXML.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/utils/XBMCTinyXML.cpp b/xbmc/utils/XBMCTinyXML.cpp
index 710171079a..e29f8e58ed 100644
--- a/xbmc/utils/XBMCTinyXML.cpp
+++ b/xbmc/utils/XBMCTinyXML.cpp
@@ -212,7 +212,7 @@ bool CXBMCTinyXML::InternalParse(const std::string& rawdata, TiXmlEncoding encod
return (TiXmlDocument::Parse(rawdata.c_str(), NULL, encoding) != NULL); // nothing to fix, process data directly
std::string data(rawdata);
- CRegExp re(false, false, "^&(amp|lt|gt|quot|apos|#x[a-fA-F0-9]{1,4}|#[0-9]{1,5});.*");
+ CRegExp re(false, CRegExp::asciiOnly, "^&(amp|lt|gt|quot|apos|#x[a-fA-F0-9]{1,4}|#[0-9]{1,5});.*");
do
{
if (re.RegFind(data, pos, MAX_ENTITY_LENGTH) < 0)