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 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 <        Matcher matcher("^http://(.+)(/.*)?$");
12 >        Matcher matcher("^http://(.+)(/.*)?$", (PCRE_UNGREEDY | PCRE_DOTALL));
13  
14          if (url == matcher)
15          {
# Line 21 | Line 21 | void Page::setUrl(const ext::String& url
21          {
22                  api::Cerr << program << ": Page.setUrl(" << url << ") failure.\n";
23  
24 <                std::exit(1);
24 >                throw;
25          }
26   }
27  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines