HomeSort by: relevance | last modified time | path
    Searched refs:regex (Results 1 - 25 of 543) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/lib/libc/regex/
Makefile.inc 4 # regex sources
5 .PATH: ${.CURDIR}/regex
11 MAN+= regex.3 re_format.7
13 MLINKS+=regex.3 regcomp.3 regex.3 regexec.3 regex.3 regerror.3 \
14 regex.3 regfree.3 regex.3 regnsub.3 regex.3 regasub.3
  /src/external/apache2/llvm/dist/llvm/utils/unittest/googletest/include/gtest/
gtest-death-test.h 103 // On POSIX-compliant systems (*nix), we use the <regex.h> library,
104 // which uses the POSIX extended regex syntax.
106 // On other platforms (e.g. Windows or Mac), we only support a simple regex
110 // or POSIX extended regex syntax. For example, we don't support
115 // subset of both PCRE and POSIX extended regex, so it's easy to
142 // If you accidentally use PCRE or POSIX extended regex features
148 // as a compiled regex library, but should perform well enough for a
167 // that matches regex.
168 # define ASSERT_EXIT(statement, predicate, regex) \
169 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_
    [all...]
  /src/external/gpl2/diffutils/dist/lib/posix/
Makefile.am 4 EXTRA_DIST = regex.h
  /src/external/gpl2/grep/dist/lib/posix/
Makefile.am 4 EXTRA_DIST = regex.h
  /src/external/bsd/atf/dist/tools/
expand.cpp 47 std::string regex; local
48 regex.reserve(glob.length() * 2);
50 regex += '^';
54 case '*': regex += ".*"; break;
55 case '?': regex += "."; break;
56 default: regex += *iter;
59 regex += '$';
61 return regex;
  /src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/cmake/
std_regex.cpp 1 #include <regex>
5 std::regex re;
6 re = std::regex("^[a-z]+[0-9]+$",
posix_regex.cpp 1 #include <regex.h>
  /src/external/apache2/llvm/dist/llvm/utils/benchmark/cmake/
std_regex.cpp 1 #include <regex>
5 std::regex re;
6 re = std::regex("^[a-z]+[0-9]+$",
posix_regex.cpp 1 #include <regex.h>
  /src/external/bsd/file/dist/tests/
regex-eol.magic 3 >&1 regex/1l [0-9]+(\.[0-9]+)+ \b, version %s
4 >>&1 regex/1l [^;]+$ \b, using %s encryption
  /src/external/bsd/openldap/dist/include/ac/
regex.h 1 /* $NetBSD: regex.h,v 1.4 2025/09/05 21:16:20 christos Exp $ */
3 /* Generic Regex */
27 /* NO POSIX REGEX!!
28 * You'll need to install a POSIX compatible REGEX library.
29 * Either Henry Spencer's or GNU regex will do.
31 #error "No POSIX REGEX available."
37 /* have regex.h, assume it's POSIX compliant */
38 # include <regex.h>
39 #endif /* regex.h */
  /src/external/bsd/tre/dist/lib/
regcomp.c 2 tre_regcomp.c - TRE POSIX compatible regex compilation functions.
22 tre_regncomp(regex_t *preg, const char *regex, size_t n, int cflags)
43 const unsigned char *str = (const unsigned char *)regex;
61 consumed = tre_mbrtowc(wcptr, regex, n, &state);
66 if (*regex == '\0')
84 regex += consumed;
96 ret = tre_compile(preg, (const tre_char_t *)regex, n, cflags);
105 tre_regncompb(regex_t *preg, const char *regex, size_t n, int cflags)
117 wregex[i] = (tre_char_t) ((unsigned char) regex[i]);
122 ret = tre_compile(preg, (const tre_char_t *)regex, n, cflags | REG_USEBYTES)
    [all...]
  /src/external/gpl3/gcc.old/dist/libphobos/src/std/regex/internal/
tests2.d 3 module std.regex.internal.tests2;
5 package(std.regex):
8 std.typecons, std.regex;
62 auto rtr = regex("a|b|c");
63 static ctr = regex("a|b|c");
67 static testCT = regex(`abc|(edf)|xyz`);
68 auto testRT = regex(`abc|(edf)|xyz`);
111 auto r1 = regex("\\b[a-z]+\\b","g");
116 auto free_reg = regex(`
131 auto rm = regex(`@(?<=\S+@)\S+`,"g")
    [all...]
  /src/bin/pax/
pat_rep.h 38 #include <regex.h>
  /src/external/bsd/tre/dist/tests/
randtest.c 16 #include <regex.h>
30 char regex[50]; local
55 regex[i] = 1 + (int)(255 * (rand() / (RAND_MAX + 1.0)));
58 regex[i] = L'\0';
60 printf("len = %d, regexp = \"%s\"\n", len, regex);
67 strncpy(buf, regex, len - 1);
  /src/usr.bin/make/unit-tests/
varmod-subst-regex.exp 1 make: Regex compilation error: (details omitted)
4 in target "mod-regex-compile-error" from varmod-subst-regex.mk:154
8 in target "mod-regex-limits-1" from varmod-subst-regex.mk:159
12 in target "mod-regex-limits-1" from varmod-subst-regex.mk:159
16 in target "mod-regex-limits-1" from varmod-subst-regex.mk:159
20 in target "mod-regex-limits-1" from varmod-subst-regex.mk:15
    [all...]
  /src/external/bsd/less/dist/
pattern.h 14 #include <regex.h>
21 #include <regex.h>
61 char *regex(char**, char*);
  /src/external/gpl2/gettext/lib/libgrep/
Makefile 14 m-regex.c \
16 regex.c \
24 COPTS.regex.c = -Wno-stack-protector
  /src/external/gpl3/gdb/dist/gdbsupport/
gdb_regex.cc 21 compiled_regex::compiled_regex (const char *regex, int cflags,
24 gdb_assert (regex != NULL);
27 int code = regcomp (&m_pattern, regex, cflags);
  /src/external/gpl3/gdb.old/dist/gdbsupport/
gdb_regex.cc 21 compiled_regex::compiled_regex (const char *regex, int cflags,
24 gdb_assert (regex != NULL);
27 int code = regcomp (&m_pattern, regex, cflags);
  /src/external/gpl2/gettext/dist/gettext-tools/libgrep/
Makefile.am 32 m-common.h m-common.c m-fgrep.c m-regex.c \
39 regex.h regex.c \
  /src/external/apache2/llvm/dist/libcxx/utils/libcxx/sym_check/
match.py 20 report += 'Matching regex "%s":\n' % regex_str
34 regex = re.compile(regex_str)
37 if regex.match(s['name']):
  /src/external/bsd/zstd/dist/build/meson/
GetZstdLibraryVersion.py 22 regex = re.compile(patterns, re.MULTILINE) variable
23 version_match = regex.search(version_file_data)
  /src/tests/lib/libtre/
Makefile 13 LCREGEX=${.CURDIR}/../libc/regex
  /src/external/apache2/llvm/dist/llvm/include/llvm/Support/
Regex.h 1 //===-- Regex.h - Regular Expression matcher implementation -*- C++ -*-----===//
28 class Regex {
48 Regex();
49 /// Compiles the given regular expression \p Regex.
51 /// \param Regex - referenced string is no longer needed after this
53 Regex(StringRef Regex, RegexFlags Flags = NoFlags);
54 Regex(StringRef Regex, unsigned Flags);
55 Regex(const Regex &) = delete
    [all...]

Completed in 43 milliseconds

1 2 3 4 5 6 7 8 91011>>