63 if ( rdelim == std::string::npos )
72 if ( delim == std::string::npos )
75 Arch arch( str_r.substr( delim+1, rdelim-delim-1 ) );
79 delim = str_r.rfind(
"-", rdelim );
80 if ( delim == std::string::npos )
83 if ( delim == rdelim-1 )
86 delim = str_r.rfind(
"-", delim-1 );
87 if ( delim == std::string::npos )
90 Edition ed( str_r.substr( delim+1, rdelim-delim-1 ) );
93 std::string identstring( str_r.substr( namespaceOff, delim-namespaceOff ) );
101 if ( solv.repository() == repo && solv.arch() == arch && solv.edition() == ed )