/openbsd/gnu/usr.bin/perl/cpan/version/lib/ |
H A D | version.pm | 16 require version::regex; 17 *version::is_lax = \&version::regex::is_lax; 18 *version::is_strict = \&version::regex::is_strict; 19 *LAX = \$version::regex::LAX; 20 *LAX_DECIMAL_VERSION = \$version::regex::LAX_DECIMAL_VERSION; 21 *LAX_DOTTED_DECIMAL_VERSION = \$version::regex::LAX_DOTTED_DECIMAL_VERSION; 22 *STRICT = \$version::regex::STRICT; 23 *STRICT_DECIMAL_VERSION = \$version::regex::STRICT_DECIMAL_VERSION; 24 *STRICT_DOTTED_DECIMAL_VERSION = \$version::regex::STRICT_DOTTED_DECIMAL_VERSION;
|
/openbsd/gnu/llvm/lldb/source/DataFormatters/ |
H A D | FormattersHelpers.cpp | 26 ConstString type_name, TypeFormatImpl::Flags flags, bool regex) { in AddFormat() argument 30 regex ? eFormatterMatchRegex : eFormatterMatchExact; in AddFormat() 36 ConstString type_name, bool regex) { in AddSummary() argument 38 regex ? eFormatterMatchRegex : eFormatterMatchExact; in AddSummary() 48 regex ? eFormatterMatchRegex : eFormatterMatchExact; in AddStringSummary() 54 TypeSummaryImpl::Flags flags, bool regex) { in AddOneLineSummary() argument 59 regex ? eFormatterMatchRegex : eFormatterMatchExact; in AddOneLineSummary() 71 regex ? eFormatterMatchRegex : eFormatterMatchExact; in AddCXXSummary() 79 ScriptedSyntheticChildren::Flags flags, bool regex) { in AddCXXSynthetic() argument 83 regex ? eFormatterMatchRegex : eFormatterMatchExact; in AddCXXSynthetic() [all …]
|
/openbsd/gnu/usr.bin/perl/win32/bin/ |
H A D | search.pl | 461 $regex = shift(@ARGV); 466 if ($regex =~ m/[?*+{}()\\.|^\$[]/) { 467 warn "$0: warning, can't underline-safe '$regex'.\n"; 469 $regex = join($underline_glue, split(//, $regex)); 476 $regex !~ m/[?*+{}()\\.|^\$[]/) 481 $regex =~ s#[\$\@\/]\w#\\$&#; 483 if ($regex =~ m/\|/) { 485 if ($regex =~ m/\\\d/) { 488 $regex = join($regex, '(', ')'); 491 $regex = join($regex, '\b', '\b'); [all …]
|
/openbsd/gnu/usr.bin/perl/t/lib/warnings/ |
H A D | regcomp | 11 \b+ matches null string many times in regex; marked by <-- HERE in m/\b+ <-- HERE / at - line 3. 38 "\c," is more clearly written simply as "l" in regex; marked by <-- HERE in m/\c, <-- HERE / at - l… 39 "\c," is more clearly written simply as "l" in regex; marked by <-- HERE in m/[\c, <-- HERE ]/ at -… 47 Unmatched [ in regex; marked by <-- HERE in m/abc[ <-- HERE \x{df}[.00./ at - line 4. 55 Unmatched [ in regex; marked by <-- HERE in m/abc[ <-- HERE fi[.00./ at - line 4. 62 Assuming NOT a POSIX class since there is no terminating ':' in regex; marked by <-- HERE in m/(?[[… 63 Unexpected ']' with no following ')' in (?[... in regex; marked by <-- HERE in m/(?[[[:word]] <-- H… 71 syntax error in (?[...]) in regex; marked by <-- HERE in m/(?[[[:digit: ]) <-- HERE / at - line 3. 79 syntax error in (?[...]) in regex; marked by <-- HERE in m/(?[[:digit: ]) <-- HERE / at - line 3. 85 ]]]]]]]]][\ ==> Unmatched [ in regex; marked by <-- HERE in m/]]]]]]]]][\ <-- HERE / at - line 2. [all …]
|
/openbsd/gnu/usr.bin/perl/t/lib/charnames/ |
H A D | alias | 8 OPTIONS regex 15 OPTIONS regex 23 OPTIONS regex 31 OPTIONS regex 48 OPTIONS regex 56 OPTIONS regex 74 OPTIONS regex 83 OPTIONS regex 110 OPTIONS regex 119 OPTIONS regex [all …]
|
/openbsd/gnu/usr.bin/perl/t/lib/croak/ |
H A D | regcomp | 33 Invalid hexadecimal number in \N{U+...} in regex; marked by <-- HERE in m/\N{U+. <-- HERE }/ at - l… 38 Invalid hexadecimal number in \N{U+...} in regex; marked by <-- HERE in m/\N{U+100. <-- HERE }/ at … 43 Invalid hexadecimal number in \N{U+...} in regex; marked by <-- HERE in m/\N{U+_ <-- HERE 100}/ at … 48 Invalid hexadecimal number in \N{U+...} in regex; marked by <-- HERE in m/\N{U+100_ <-- HERE }/ at … 56 Invalid hexadecimal number in \N{U+...} in regex; marked by <-- HERE in m/[\xDF\N{U+. <-- HERE }]/ … 70 Invalid hexadecimal number in \N{U+...} in regex; marked by <-- HERE in m/\N{U+_ <-- HERE FF}/ at -… 77 Too many nested open parens in regex; marked by <-- HERE in m/(( <-- HERE a))/ at - line 3. 82 \K not permitted in lookahead/lookbehind in regex; marked by <-- HERE in m/(?=a\K <-- HERE a)a/ at … 93 \K not permitted in lookahead/lookbehind in regex; marked by <-- HERE in m/(?!a\K <-- HERE a)a/ at … 104 \K not permitted in lookahead/lookbehind in regex; marked by <-- HERE in m/(?<=a\K <-- HERE a)a/ at… [all …]
|
/openbsd/gnu/usr.bin/perl/cpan/Test2-Suite/t/modules/Compare/ |
H A D | Regex.t | 5 is(qr/abc/i, $one, "same regex"); 7 ok(!$one->verify(got => qr/xyz/i, exists => 1), "Different regex"); 11 ok(!$one->verify(exists => 1, got => {}), "Must be regex"); 15 is($one->name, "" . qr/abc/i, "name is regex pattern"); 19 ok($one->verify(got => qr/abc/i, exists => 1), "Same regex"); 29 qr/'input' must be a regex , got 'foo'/, 30 "must be a regex"
|
/openbsd/gnu/llvm/lldb/packages/Python/lldbsuite/test/tools/lldb-server/ |
H A D | lldbgdbserverutils.py | 367 regex=None, argument 403 self.regex = regex 462 elif self.regex: 623 self._regex = regex 745 if regex and (isinstance(regex, str)): 746 regex = re.compile(regex, re.DOTALL) 756 regex=regex, 765 regex=regex, 773 if regex and (isinstance(regex, str)): 774 regex = re.compile(regex, re.DOTALL) [all …]
|
/openbsd/gnu/gcc/gcc/ |
H A D | opt-functions.awk | 22 function flag_set_p(regex, flags) 24 return (" " flags " ") ~ (" " regex " ") 29 function test_flag(regex, flags, string) 31 if (flag_set_p(regex, flags)) 67 regex = langs[j] 68 gsub ( "\\+", "\\+", regex ) 69 result = result test_flag(regex, flags, " | " macros[j])
|
/openbsd/gnu/llvm/llvm/lib/Support/ |
H A D | Regex.cpp | 29 Regex::Regex(StringRef regex, RegexFlags Flags) { in Regex() argument 32 preg->re_endp = regex.end(); in Regex() 39 error = llvm_regcomp(preg, regex.data(), flags|REG_PEND); in Regex() 42 Regex::Regex(StringRef regex, unsigned Flags) in Regex() argument 43 : Regex(regex, static_cast<RegexFlags>(Flags)) {} in Regex() 45 Regex::Regex(Regex &®ex) { in Regex() argument 46 preg = regex.preg; in Regex() 47 error = regex.error; in Regex() 48 regex.preg = nullptr; in Regex() 49 regex.error = REG_BADPAT; in Regex()
|
/openbsd/gnu/llvm/llvm/cmake/modules/ |
H A D | ChooseMSVCCRT.cmake | 13 # 2. Replace the flags in both variables with the new flag via a regex. 18 macro(make_crt_regex regex crts) 19 set(${regex} "") 23 set(${regex} "${${regex}}|(^| +)/${crt}($| +)") 25 string(REGEX REPLACE "^\\|" "" ${regex} "${${regex}}") 28 macro(get_current_crt crt_current regex flagsvar) 31 string(REGEX MATCH "${${regex}}" ${crt_current} "${${flagsvar}}") 38 macro(set_flag_in_var flagsvar regex flag) 39 string(REGEX MATCH "${${regex}}" current_flag "${${flagsvar}}") 43 string(REGEX REPLACE "${${regex}}" "${${flag}}" ${flagsvar} "${${flagsvar}}")
|
/openbsd/gnu/llvm/lld/Common/ |
H A D | ErrorHandler.cpp | 174 static std::regex regexes[] = { in getLocation() 175 std::regex( in getLocation() 178 std::regex( in getLocation() 180 std::regex(R"(^undefined symbol:.*\n>>> referenced by (.*):)"), in getLocation() 181 std::regex( in getLocation() 183 std::regex( in getLocation() 185 std::regex(R"(^duplicate symbol: .*\n>>> defined at (\S+):(\d+))"), in getLocation() 186 std::regex( in getLocation() 189 std::regex(R"((\S+):(\d+): unclosed quote)"), in getLocation() 193 for (std::regex &re : regexes) { in getLocation() [all …]
|
/openbsd/gnu/usr.bin/perl/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker/ |
H A D | version.pm | 46 require ExtUtils::MakeMaker::version::regex; 47 *version::is_lax = \&ExtUtils::MakeMaker::version::regex::is_lax; 48 *version::is_strict = \&ExtUtils::MakeMaker::version::regex::is_strict; 49 *LAX = \$ExtUtils::MakeMaker::version::regex::LAX; 50 *STRICT = \$ExtUtils::MakeMaker::version::regex::STRICT;
|
/openbsd/gnu/usr.bin/perl/cpan/Archive-Tar/t/ |
H A D | 05_iter.t | 57 my $regex = $Expect[$index]; 58 @expect = ($regex); 59 %opts = ( filter => $regex ); 60 $dotest->("filter $regex"); 61 %opts = ( filter_cb => sub { my ($entry) = @_; $entry->name() =~ /$regex/ } ); 62 $dotest->("filter_cb $regex");
|
/openbsd/gnu/llvm/lldb/include/lldb/DataFormatters/ |
H A D | FormattersHelpers.h | 25 bool regex = false); 29 bool regex = false); 33 TypeSummaryImpl::Flags flags, bool regex = false); 37 bool regex = false); 43 TypeSummaryImpl::Flags flags, bool regex = false); 50 bool regex = false); 55 bool regex = false);
|
/openbsd/gnu/usr.bin/perl/t/re/ |
H A D | reg_mesg.t | 82 $element =~ s/in regex; marked by <-- HERE in/{#}/; 806 my $regex = $death[$i] =~ s/ default_ (on | off) //rx; 817 my $eval_string = "$strict $regex"; 895 my $regex = $ref->[$i]; 896 if ($regex =~ s/ default_ (on | off) //x) { 909 eval "$strict no warnings; $regex"; 911 my $display = display_rx($regex); # used in the test names. 915 eval "$strict $regex" }); 943 eval "$strict no warnings '$warning_type'; $regex;" } 953 eval "$strict $regex"
|
/openbsd/gnu/usr.bin/perl/pod/ |
H A D | perlrequick.pod | 19 characters. A regex consisting of a word matches any string that 24 In this statement, C<World> is a regex and the C<//> enclosing 27 value if the regex matched, or false if the regex did not match. In 39 The literal string in the regex can be replaced by a variable: 71 in regex notation. The metacharacters are 84 because it is used to delimit the regex. 326 matching variables that can be used I<inside> a regex: 331 C<\g2>, ... only inside a regex. 384 while still allowing the regex to match. So we have 420 C</c>, as in C</regex/gc>. [all …]
|
/openbsd/gnu/usr.bin/perl/t/lib/feature/ |
H A D | nonesuch | 6 OPTIONS regex 11 OPTIONS regex 16 OPTIONS regex 21 OPTIONS regex
|
/openbsd/gnu/usr.bin/perl/cpan/Encode/t/ |
H A D | decode.t | 31 is($latin1->decode($1), $orig, '[cpan #115168] passing magic regex globals to decode'); 40 is($latin1->decode($1), "\N{U+0080}", 'passing magic regex to latin1 decode'); 48 is($latin1->encode($1), "\x80", 'passing magic regex to latin1 encode'); 52 is(Encode::decode_utf8($1), "\N{U+C0}", 'passing magic regex to Encode::decode_utf8'); 63 is(Encode::encode_utf8($1), "\xC3\x80", 'passing magic regex to Encode::encode_utf8'); 67 is(Encode::decode('utf-8', $1), "\N{U+C0}", 'passing magic regex to UTF-8 decode'); 75 is(Encode::encode('utf-8', $1), "\xC3\x80", 'passing magic regex to UTF-8 encode');
|
/openbsd/gnu/usr.bin/gcc/gcc/fixinc/ |
H A D | Makefile.in | 71 gnu-regex.o fixlib.o 73 TESTOBJ = fixincl.o fixlib.o fixtests.o gnu-regex.o 74 FIXOBJ = fixfixes.o fixlib.o gnu-regex.o 76 HDR = server.h gnu-regex.h fixlib.h machname.h 103 gnu-regex.o : gnu-regex.c
|
/openbsd/gnu/usr.bin/perl/cpan/Test-Simple/lib/Test/ |
H A D | Builder.pm | 928 my( $self, $thing, $regex, $name ) = @_; 1114 my( $self, $regex ) = @_; 1122 if( _is_qr($regex) ) { 1123 $usable_regex = $regex; 1137 my $regex = shift; 1142 return ref $regex eq 'Regexp'; 2045 $Test->like($thing, qr/$regex/, $name); 2046 $Test->like($thing, '/$regex/', $name); 2056 given C<$regex>. 2130 $Test->maybe_regex(qr/$regex/); [all …]
|
/openbsd/gnu/llvm/llvm/include/llvm/Support/ |
H A D | Regex.h | 56 Regex &operator=(Regex regex) { 57 std::swap(preg, regex.preg); 58 std::swap(error, regex.error); 61 Regex(Regex &®ex);
|
/openbsd/usr.bin/dig/lib/dns/rdata/generic/ |
H A D | naptr_35.c | 35 char regex[256]; in txt_valid_regex() local 61 cp = regex; in txt_valid_regex() 114 n = isc_regex_validate(regex); in txt_valid_regex() 185 unsigned char *regex; in fromwire_naptr() local 218 regex = isc_buffer_used(target); in fromwire_naptr() 220 RETERR(txt_valid_regex(regex)); in fromwire_naptr()
|
/openbsd/regress/sys/kern/pledge/generic/ |
H A D | manager.c | 97 regex_t regex; in grab_syscall() local 110 error = regcomp(®ex, pattern, REG_EXTENDED); in grab_syscall() 116 if (regex.re_nsub != 1) { in grab_syscall() 117 warnx("regcomp pattern=%s nsub=%zu", pattern, regex.re_nsub); in grab_syscall() 122 error = regexec(®ex, output, 2, matches, 0); in grab_syscall() 146 regfree(®ex); in grab_syscall()
|
/openbsd/gnu/llvm/clang/include/clang/Tooling/Inclusions/ |
H A D | StdSymbolMap.inc | 156 SYMBOL(basic_regex, std::, <regex>) 203 SYMBOL(cmatch, std::, <regex>) 245 SYMBOL(csub_match, std::, <regex>) 949 SYMBOL(regex, std::, <regex>) 950 SYMBOL(regex_error, std::, <regex>) 1049 SYMBOL(smatch, std::, <regex>) 1060 SYMBOL(ssub_match, std::, <regex>) 1105 SYMBOL(sub_match, std::, <regex>) 1242 SYMBOL(wcmatch, std::, <regex>) 1305 SYMBOL(wregex, std::, <regex>) [all …]
|