Boost logo

Boost :

From: SourceForge.net (noreply_at_[hidden])
Date: 2007-03-21 07:39:09


Bugs item #1685103, was opened at 2007-03-21 06:39
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1685103&group_id=7586

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: regex
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: krankurs (krankurs)
Assigned to: John Maddock (johnmaddock)
Summary: regex_match throws exception

Initial Comment:
Running:
MS Windows XP with pack 2, boost_1_33_1,
MS VS 2005, VC++ console app,
BOOST_REGEX_DYN_LINK;
Multi-threaded Debug DLL (/MDd)

boost::regex site_url_regex("http(s?)://((\b(?:\d{1,3}\.){3}\d{1,3}\b)|(www(.[a-z0-9]+)+.mydomain.com))");

boost::regex_match("http://www.appwebsite1.mydomain.com", site_url_regex);

returns true; (as expected)

boost::regex_match("http://www.appwebsite1.mydomain.com/1234", site_url_regex);

returns false; (as expected)

boost::regex_match("http://www.appwebsite1.mydomain.com/12345678/12345678/", site_url_regex);

throws exception, - expected false

Thank you,
Leonid

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1685103&group_id=7586

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-bugs mailing list
Boost-bugs_at_[hidden]
https://lists.sourceforge.net/lists/listinfo/boost-bugs


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk