Home | History | Annotate | Download | only in Support

Lines Matching refs:Repl

115 std::string Regex::sub(StringRef Repl, StringRef String,
131 while (!Repl.empty()) {
133 std::pair<StringRef, StringRef> Split = Repl.split('\\');
140 if (Repl.size() != Split.first.size() &&
147 Repl = Split.second;
150 switch (Repl[0]) {
153 Res += Repl[0];
154 Repl = Repl.substr(1);
160 Repl = Repl.substr(1);
164 Repl = Repl.substr(1);
171 StringRef Ref = Repl.slice(0, Repl.find_first_not_of("0123456789"));
172 Repl = Repl.substr(Ref.size());