if (fragment.size() > 1)
fragment = fragment.substr(1);
- std::cout << "scheme: " << scheme << " authority: " << authority
- << " query " << query << " fragment " << fragment << std::endl;
-
- std::cout << "out[3] " << out[3] << std::endl;
-
url = g_urlSchemeRepository().getUrlByScheme(scheme);
if( !url)
{
* \li \c wsmatch
*/
- //@{
- /** regex */
-#if 0
- using boost::regex;
- using boost::regex_match;
- using boost::regex_search;
- using boost::regex_replace;
- using boost::match_results;
- using boost::match_extra;
- using boost::cmatch;
- using boost::wcmatch;
- using boost::smatch;
- using boost::wsmatch;
- //@}
-
- /**
- * helper to debug regular expressions matches
- */
- std::ostream & dumpRegexpResult( const boost::smatch &what, std::ostream & str );
-#endif
-
///////////////////////////////////////////////////////////////////
/** \name String representation of number.
*
try
{
str::regex rex(regx);
- std::cout << "testing *" << data << "* against *" << regx << "*" << std::endl;
valid = str::regex_match(data, rex);
}
catch( ... )
std::string url;
UrlBaseData tmp;
- std::cout << "UrlBase:.asString()" << std::endl;
-
if( opts.has(ViewOptions::WITH_SCHEME))
{
tmp.scheme = getScheme();
}
}
- std::cout << "tmp.host: *" << tmp.host << "*" << std::endl;
-
url += tmp.host;
if( opts.has(ViewOptions::WITH_PORT))
if( opts.has(ViewOptions::WITH_PATH_NAME))
{
tmp.pathname = getPathName(zypp::url::E_ENCODED);
- std::cout << "pathname: *" << tmp.pathname << "*" << std::endl;
if( !tmp.pathname.empty())
{
if(url.find("/") != std::string::npos)
std::string username, password, host, port;
- std::cout << "authority: " << authority << "*" << std::endl;
-
if ((p=s.find('@')) != std::string::npos)
{
q = s.find(':');
));
}
- std::cout << "host: *" << host << "*" << std::endl;
-
if( isValidHost(host))
{
std::string temp;