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

Comparing SiteMapper/Page.cpp (file contents):
Revision 331 by douglas, 2004-12-13T20:46:08-08:00 vs.
Revision 332 by douglas, 2004-12-13T20:50:07-08:00

# Line 9 | Line 9
9  
10   void Page::setUrl(const ext::String& url)
11   {
12        api::Cerr << PCRE_MULTILINE << " = " << Matcher::defaults << ios::NewLine;
13
12          Matcher matcher("^http://(.+)(/.*)?$", (PCRE_UNGREEDY | PCRE_DOTALL));
13  
16        api::Cerr << (PCRE_UNGREEDY | PCRE_DOTALL) << " = " << matcher.options << ios::NewLine;
17
14          if (url == matcher)
15          {
16                  address = matcher[1];

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines