# | Line 5 | Line 5 | |
---|---|---|
5 | // $Id$ | |
6 | ||
7 | #include "SiteMapper.hpp" | |
8 | < | #include "Matcher.hpp" |
9 | < | #include "Page.hpp" |
8 | > | #include "Matcher/Matcher.hpp" |
9 | ||
10 | #include <menes-api/exename.hpp> | |
11 | #include <menes-app/application.hpp> | |
# | Line 102 | Line 101 | void SiteMapper::newIndex(const ext::Str | |
101 | ||
102 | ext::String path(**node/"path"), title(**node/"title"); | |
103 | Page page(address, path, title); | |
104 | < | Matcher matcher; |
104 | > | Matcher matcher(PCRE_UNGREEDY | PCRE_DOTALL); |
105 | ||
106 | if (page == matcher("^Douglas\\sThrift's\\sWebsite\\s\\|\\sDouglas\\sThrift's\\sBlog:\\s(.+)$")) | |
107 | { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |