Lines Matching refs:Repl
98 std::string Regex::sub(StringRef Repl, StringRef String, in sub() argument
114 while (!Repl.empty()) { in sub()
116 std::pair<StringRef, StringRef> Split = Repl.split('\\'); in sub()
123 if (Repl.size() != Split.first.size() && in sub()
130 Repl = Split.second; in sub()
133 switch (Repl[0]) { in sub()
136 Res += Repl[0]; in sub()
137 Repl = Repl.substr(1); in sub()
143 Repl = Repl.substr(1); in sub()
147 Repl = Repl.substr(1); in sub()
154 StringRef Ref = Repl.slice(0, Repl.find_first_not_of("0123456789")); in sub()
155 Repl = Repl.substr(Ref.size()); in sub()