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 328 by douglas, 2004-12-13T20:13:49-08:00 vs.
Revision 330 by douglas, 2004-12-13T20:46:08-08:00

# Line 9 | Line 9
9  
10   void Page::setUrl(const ext::String& url)
11   {
12 <        Matcher matcher("^http://(.+)(/.*)?$");
12 >        api::Cerr << PCRE_MULTILINE << " = " << Matcher::defaults << ios::NewLine;
13 >
14 >        Matcher matcher("^http://(.+)(/.*)?$", (PCRE_UNGREEDY | PCRE_DOTALL));
15 >
16 >        api::Cerr << (PCRE_UNGREEDY | PCRE_DOTALL) << " = " << matcher.options << ios::NewLine;
17  
18          if (url == matcher)
19          {
# Line 21 | Line 25 | void Page::setUrl(const ext::String& url
25          {
26                  api::Cerr << program << ": Page.setUrl(" << url << ") failure.\n";
27  
28 <                std::exit(1);
28 >                throw;
29          }
30   }
31  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines