Searched refs:regex (Results 101 - 125 of 474) sorted by relevance

1234567891011>>

/external/libcxx/test/std/re/re.iter/re.regiter/re.regiter.cnstr/
H A Dcnstr.pass.cpp10 // <regex>
18 #include <regex>
24 std::regex phone_numbers("\\d{3}-\\d{4}");
/external/libcxx/test/std/re/re.iter/re.regiter/re.regiter.deref/
H A Dderef.pass.cpp10 // <regex>
16 #include <regex>
22 std::regex phone_numbers("\\d{3}-\\d{4}");
/external/libcxx/test/std/re/re.results/re.results.acc/
H A Dposition.pass.cpp10 // <regex>
16 #include <regex>
24 assert(std::regex_search(s, m, std::regex("cd((e)fg)hi")));
/external/llvm/utils/llvm-build/llvmbuild/
H A Dconfigutil.py15 The substitutions list should be given as a list of tuples (regex string,
16 replacement), where the regex and replacement will be used as in 're.sub' to
35 regex = re.compile(regex_string)
36 data = regex.sub(replacement, data)
/external/mockito/src/org/mockito/internal/util/
H A DDecamelizer.java8 import java.util.regex.Matcher;
9 import java.util.regex.Pattern;
/external/slf4j/slf4j-migrator/src/main/java/org/slf4j/migrator/line/
H A DMultiGroupConversionRule.java27 import java.util.regex.Matcher;
28 import java.util.regex.Pattern;
61 throw new IllegalArgumentException("regex groups start at 1, not zero");
78 * @see org.slf4j.converter.ConversionRule#replace(java.util.regex.Matcher)
/external/smali/util/src/main/java/org/jf/util/
H A DTextUtils.java35 import java.util.regex.Matcher;
36 import java.util.regex.Pattern;
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
H A DStringExtensions.cs107 public static string replaceAll( string str, string regex, string newValue ) argument
109 return System.Text.RegularExpressions.Regex.Replace( str, regex, newValue );
112 public static string replaceFirst( string str, string regex, string replacement ) argument
114 return System.Text.RegularExpressions.Regex.Replace( str, regex, replacement );
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
H A DStringExtensions.cs103 public static string replaceAll( this string str, string regex, string newValue ) argument
105 return Regex.Replace( str, regex, newValue );
108 public static string replaceFirst( this string str, string regex, string replacement ) argument
110 return Regex.Replace( str, regex, replacement );
/external/conscrypt/src/main/java/org/conscrypt/
H A DAddressUtils.java19 import java.util.regex.Pattern;
/external/libcxx/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/
H A Dint.pass.cpp10 // <regex>
19 #include <regex>
25 std::regex phone_numbers("\\d{3}-\\d{4}");
44 std::regex phone_numbers("\\d{3}-\\d{4}");
60 std::regex phone_numbers("\\d{3}-(\\d{4})");
/external/libcxx/test/std/re/re.iter/re.tokiter/re.tokiter.deref/
H A Dderef.pass.cpp10 // <regex>
16 #include <regex>
22 std::regex phone_numbers("\\d{3}-\\d{4}");
41 std::regex phone_numbers("\\d{3}-\\d{4}");
57 std::regex phone_numbers("\\d{3}-(\\d{4})");
/external/libcxx/test/std/re/re.regex/re.regex.construct/
H A Dstring.pass.cpp10 // <regex>
17 #include <regex>
/external/libcxx/test/std/re/re.results/re.results.all/
H A Dget_allocator.pass.cpp10 // <regex>
16 #include <regex>
/external/libcxx/test/std/re/re.results/re.results.const/
H A Dallocator.pass.cpp10 // <regex>
16 #include <regex>
/external/libcxx/test/std/re/re.results/re.results.form/
H A Dform3.pass.cpp10 // <regex>
21 #include <regex>
33 assert(std::regex_search(s, m, std::regex("cd((e)fg)hi")));
42 assert(std::regex_search(s, m, std::regex("cd((e)fg)hi")));
51 assert(std::regex_search(s, m, std::regex("cd((e)fg)hi")));
H A Dform4.pass.cpp10 // <regex>
20 #include <regex>
28 assert(std::regex_search(s, m, std::regex("cd((e)fg)hi")));
37 assert(std::regex_search(s, m, std::regex("cd((e)fg)hi")));
46 assert(std::regex_search(s, m, std::regex("cd((e)fg)hi")));
/external/libcxx/test/std/re/re.traits/
H A Ddefault.pass.cpp11 // <regex>
17 #include <regex>
H A Dgetloc.pass.cpp10 // <regex>
16 #include <regex>
H A Dlength.pass.cpp11 // <regex>
17 #include <regex>
H A Dtranslate.pass.cpp11 // <regex>
17 #include <regex>
/external/mesa3d/src/gallium/state_trackers/
H A DMakefile20 rm -f `find . -regex '.*\.l?[oa]'`
/external/libcxx/test/std/re/re.alg/re.alg.search/
H A Dbackup.pass.cpp10 // <regex>
19 #include <regex>
30 std::regex re("\\ba");
49 std::regex re("\\ba");
H A Dgrep.pass.cpp10 // <regex>
19 #include <regex>
29 assert(std::regex_search(s, m, std::regex("tour\nto\ntournament",
45 assert(std::regex_search(s, m, std::regex("tour\n\ntournament",
/external/libcxx/test/std/re/re.alg/re.alg.match/
H A Degrep.pass.cpp10 // <regex>
19 #include <regex>
29 assert(std::regex_match(s, m, std::regex("tour\nto\ntournament",
45 assert(!std::regex_match(s, m, std::regex("tour\n\ntournament",
52 assert(std::regex_match(s, m, std::regex("(tour|to|tournament)+\ntourna",
68 assert(std::regex_match(s, m, std::regex("(tour|to|tournament)+\ntourna",

Completed in 2863 milliseconds

1234567891011>>