/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/regex/ |
H A D | RangeTreeConverterTest.java | 17 package com.google.i18n.phonenumbers.metadata.regex; 21 import static com.google.i18n.phonenumbers.metadata.regex.Edge.any; 22 import static com.google.i18n.phonenumbers.metadata.regex.Edge.epsilon; 23 import static com.google.i18n.phonenumbers.metadata.regex.Edge.optionalAny; 24 import static com.google.i18n.phonenumbers.metadata.regex.Node.INITIAL; 25 import static com.google.i18n.phonenumbers.metadata.regex.Node.TERMINAL; 31 import com.google.i18n.phonenumbers.metadata.regex.Edge.SimpleEdge;
|
H A D | RegexFormatterTest.java | 17 package com.google.i18n.phonenumbers.metadata.regex; 20 import static com.google.i18n.phonenumbers.metadata.regex.RegexFormatter.FormatOption.FORCE_CAPTURING_GROUPS; 21 import static com.google.i18n.phonenumbers.metadata.regex.RegexFormatter.FormatOption.FORCE_NON_CAPTURING_GROUPS; 22 import static com.google.i18n.phonenumbers.metadata.regex.RegexFormatter.FormatOption.PRESERVE_CAPTURING_GROUPS;
|
/third_party/node/tools/ |
H A D | getmoduleversion.py | 15 regex = '^#define NODE_MODULE_VERSION [0-9]+' 18 if re.match(regex, line): 22 raise Exception('Could not find pattern matching %s' % regex)
|
H A D | getnapibuildversion.py | 15 regex = '^#define NAPI_VERSION' 18 if re.match(regex, line): 22 raise Exception('Could not find pattern matching %s' % regex)
|
/third_party/rust/crates/regex/examples/ |
H A D | shootout-regex-dna-replace.rs | 3 macro_rules! regex { macros 5 use regex::internal::ExecBuilder; 15 seq = regex!(">[^\n]*\n|\n").replace_all(&seq, "").into_owned(); in main()
|
/third_party/libabigail/src/ |
H A D | abg-suppression.cc | 40 using regex::regex_t_sptr; 1032 if (!regex::match(type_name_regex, type_name)) in suppression_matches_type_name() 1039 if (regex::match(type_name_not_regex, type_name)) in suppression_matches_type_name() 1086 if (regex::match(regexp, loc_path)) in suppression_matches_type_location() 2557 if (!regex::match(name_regex, fname)) in suppresses_function() 2578 if (!regex::match(name_regex, a->get_name())) in suppresses_function() 2588 if (regex::match(name_not_regex, fname)) in suppresses_function() 2609 if (regex::match(name_regex, a->get_name())) in suppresses_function() 2633 && !regex::match(return_type_regex, fn_return_type_name)) in suppresses_function() 2670 if (symbol_name_regex && !regex in suppresses_function() [all...] |
/third_party/node/deps/v8/third_party/markupsafe/ |
H A D | get_markupsafe.sh | 44 if ! grep --extended-regex --line-regex --silent \ 71 if ! grep --extended-regex --line-regex --silent \
|
/third_party/node/tools/inspector_protocol/jinja2/ |
H A D | get_jinja2.sh | 45 if ! grep --extended-regex --line-regex --silent \ 72 if ! grep --extended-regex --line-regex --silent \
|
/third_party/node/tools/inspector_protocol/markupsafe/ |
H A D | get_markupsafe.sh | 44 if ! grep --extended-regex --line-regex --silent \ 71 if ! grep --extended-regex --line-regex --silent \
|
/third_party/skia/third_party/externals/markupsafe/ |
H A D | get_markupsafe.sh | 44 if ! grep --extended-regex --line-regex --silent \ 71 if ! grep --extended-regex --line-regex --silent \
|
/third_party/rust/crates/regex/bench/src/ |
H A D | rust_compile.rs | 4 use regex::internal::Compiler; 24 b.iter(|| regex!(r"^bc(d|e)*$")); in compile_simple_full() 45 b.iter(|| regex!(r"\p{L}|\p{N}|\s|.|\d")); in compile_small_full() 66 b.iter(|| regex!(r"\p{L}{50}")); in compile_huge_full()
|
/third_party/rust/crates/regex/tests/ |
H A D | test_default_bytes.rs | 3 use regex::bytes::Regex; 10 use regex::bytes::RegexSet; 15 macro_rules! regex { macros 39 // See: https://github.com/rust-lang/regex/issues/321 in as_bytes() 42 // regex engine. in as_bytes()
|
H A D | api_str.rs | 8 let re = regex!(r".*?"); in empty_match_unicode_find_iter() 18 let re = regex!(r".*?"); in empty_match_unicode_captures_iter() 29 let re = regex!(r"fo+"); in match_as_str()
|
H A D | test_nfa_utf8bytes.rs | 5 use regex::internal::ExecBuilder; 10 macro_rules! regex { macros 18 use regex::internal::ExecBuilder;
|
H A D | test_nfa.rs | 5 use regex::internal::ExecBuilder; 10 macro_rules! regex { macros 18 use regex::internal::ExecBuilder;
|
H A D | test_nfa_bytes.rs | 3 use regex::internal::ExecBuilder; 12 macro_rules! regex { macros 20 use regex::internal::ExecBuilder;
|
H A D | test_backtrack_utf8bytes.rs | 5 use regex::internal::ExecBuilder; 14 macro_rules! regex { macros 22 use regex::internal::ExecBuilder;
|
H A D | test_backtrack.rs | 5 use regex::internal::ExecBuilder; 13 macro_rules! regex { macros 21 use regex::internal::ExecBuilder;
|
H A D | test_backtrack_bytes.rs | 3 use regex::internal::ExecBuilder; 12 macro_rules! regex { macros 20 use regex::internal::ExecBuilder;
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/translit/ |
H A D | RegexUtilitiesTest.java | 14 import java.util.regex.Matcher; 15 import java.util.regex.Pattern; 88 // verify that we can create a regex pattern and use as expected in TestCharacters() 150 UnicodeRegex regex = new UnicodeRegex(); in TestBnf() 188 result = regex.compileBnf(lines); in TestBnf() 190 result = regex.compileBnf(test); in TestBnf() 197 String resolved = regex.transform(result); in TestBnf() 236 UnicodeRegex regex = new UnicodeRegex(); in TestTransformQuotation() 240 String actual = regex.transform(source); in TestTransformQuotation()
|
/third_party/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
H A D | RegexUtilitiesTest.java | 13 import java.util.regex.Matcher; 14 import java.util.regex.Pattern; 86 // Escape like in UnicodeSet, and change supplementary escapes to Java regex syntax. in TestCharacters() 93 // verify that we can create a regex pattern and use as expected in TestCharacters() 155 UnicodeRegex regex = new UnicodeRegex(); in TestBnf() 193 result = regex.compileBnf(lines); in TestBnf() 195 result = regex.compileBnf(test); in TestBnf() 202 String resolved = regex.transform(result); in TestBnf() 241 UnicodeRegex regex = new UnicodeRegex(); in TestTransformQuotation() 245 String actual = regex in TestTransformQuotation() [all...] |
/third_party/pulseaudio/src/modules/ |
H A D | module-match.c | 32 #include <regex.h> 69 regex_t regex; member 107 regex_t regex; in load_rules() local 178 if (regcomp(®ex, ln, REG_EXTENDED|REG_NOSUB) != 0) { in load_rules() 186 rule->regex = regex; in load_rules() 225 if (!regexec(&r->regex, n, 0, NULL, 0)) { in sink_input_fixate_hook_callback() 294 regfree(&r->regex); in pa__done()
|
/kernel/linux/linux-5.10/Documentation/trace/postprocess/ |
H A D | trace-vmscan-postprocess.pl | 109 # Defaults for dynamically discovered regex's 120 # Dyanically discovered regex 131 # Static regex used. Specified like this for readability and for use with /o 140 my $regex; 152 $regex = $1; 153 $regex =~ s/%s/\([0-9a-zA-Z|_]*\)/g; 154 $regex =~ s/%p/\([0-9a-f]*\)/g; 155 $regex =~ s/%d/\([-0-9]*\)/g; 156 $regex =~ s/%ld/\([-0-9]*\)/g; 157 $regex [all...] |
/kernel/linux/linux-6.6/Documentation/trace/postprocess/ |
H A D | trace-vmscan-postprocess.pl | 109 # Defaults for dynamically discovered regex's 120 # Dyanically discovered regex 131 # Static regex used. Specified like this for readability and for use with /o 140 my $regex; 152 $regex = $1; 153 $regex =~ s/%s/\([0-9a-zA-Z|_]*\)/g; 154 $regex =~ s/%p/\([0-9a-f]*\)/g; 155 $regex =~ s/%d/\([-0-9]*\)/g; 156 $regex =~ s/%ld/\([-0-9]*\)/g; 157 $regex [all...] |
/third_party/googletest/googletest/include/gtest/internal/ |
H A D | gtest-death-test-internal.h | 174 // and interpreted as a regex (rather than an Eq matcher) for legacy 177 ::testing::internal::RE regex) { in MakeDeathTestMatcher() 178 return ContainsRegex(regex.pattern()); in MakeDeathTestMatcher() 180 inline Matcher<const ::std::string&> MakeDeathTestMatcher(const char* regex) { in MakeDeathTestMatcher() argument 181 return ContainsRegex(regex); in MakeDeathTestMatcher() 184 const ::std::string& regex) { in MakeDeathTestMatcher() 185 return ContainsRegex(regex); in MakeDeathTestMatcher() 258 // The regex object is not evaluated, but it is used to prevent "unused" 176 MakeDeathTestMatcher( ::testing::internal::RE regex) MakeDeathTestMatcher() argument 183 MakeDeathTestMatcher( const ::std::string& regex) MakeDeathTestMatcher() argument
|