ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/SiteMapper/SiteMapper.cpp
(Generate patch)

Comparing SiteMapper/SiteMapper.cpp (file contents):
Revision 303 by douglas, 2004-12-12T17:58:03-08:00 vs.
Revision 328 by douglas, 2004-12-13T20:13:49-08:00

# 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                  {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines