+ remove escaping of the '@' character in a regex (was not compiling on arm & osx)

pull/9/head
kelson42 14 years ago
parent d0829d9dbf
commit 755b9f6779

@ -254,7 +254,7 @@ static int accessHandlerCallback(void *cls,
replaceRegex(content, "$1$2" + humanReadableBookId + "/$3/", replaceRegex(content, "$1$2" + humanReadableBookId + "/$3/",
"(href|src)(=[\"|\']/)([A-Z|\\-])/"); "(href|src)(=[\"|\']/)([A-Z|\\-])/");
replaceRegex(content, "$1$2" + humanReadableBookId + "/$3/", replaceRegex(content, "$1$2" + humanReadableBookId + "/$3/",
"(\@import[ ]+)([\"|\']/)([A-Z|\\-])/"); "(@import[ ]+)([\"|\']/)([A-Z|\\-])/");
if (searcher != NULL) { if (searcher != NULL) {
introduceTaskbar(content, humanReadableBookId); introduceTaskbar(content, humanReadableBookId);

Loading…
Cancel
Save