Searched refs:x_replace (Results 1 – 2 of 2) sorted by relevance
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/util/xregexp/ |
H A D | regexp.cpp | 318 string x_replace(replace.data(), replace.length()); in Replace() local 323 pos = x_replace.find("$", pos); in Replace() 329 const char* startptr = x_replace.c_str() + pos + 1; in Replace() 353 size_t sp_end = endptr - x_replace.c_str(); in Replace() 354 if ( sp_start > 0 && x_replace[sp_start-1] == '{') { in Replace() 356 if ( sp_end < x_replace.length() && in Replace() 357 x_replace[sp_end] == '}') { in Replace() 365 x_replace.replace(sp_start, sp_end - sp_start, subpattern.data(), subpattern.length()); in Replace() 371 m_Content.replace(result[0], result[1] - result[0], x_replace); in Replace() 373 start_pos = result[0] + x_replace.length(); in Replace() [all …]
|
/dports/biology/ncbi-blast+/ncbi-blast-2.12.0+-src/c++/src/util/xregexp/ |
H A D | regexp.cpp | 318 string x_replace(replace.data(), replace.length()); in Replace() local 323 pos = x_replace.find("$", pos); in Replace() 329 const char* startptr = x_replace.c_str() + pos + 1; in Replace() 353 size_t sp_end = endptr - x_replace.c_str(); in Replace() 354 if ( sp_start > 0 && x_replace[sp_start-1] == '{') { in Replace() 356 if ( sp_end < x_replace.length() && in Replace() 357 x_replace[sp_end] == '}') { in Replace() 365 x_replace.replace(sp_start, sp_end - sp_start, subpattern.data(), subpattern.length()); in Replace() 371 m_Content.replace(result[0], result[1] - result[0], x_replace); in Replace() 373 start_pos = result[0] + x_replace.length(); in Replace() [all …]
|