Home | History | Annotate | Download | only in Support

Lines Matching refs:Repl

94 std::string Regex::sub(StringRef Repl, StringRef String,
110 while (!Repl.empty()) {
112 std::pair<StringRef, StringRef> Split = Repl.split('\\');
119 if (Repl.size() != Split.first.size() &&
126 Repl = Split.second;
129 switch (Repl[0]) {
132 Res += Repl[0];
133 Repl = Repl.substr(1);
139 Repl = Repl.substr(1);
143 Repl = Repl.substr(1);
150 StringRef Ref = Repl.slice(0, Repl.find_first_not_of("0123456789"));
151 Repl = Repl.substr(Ref.size());