/freebsd/contrib/file/magic/Magdir/ |
H A D | ringdove | 6 0 regex/128l ha:rnd-menu-v[0-9]+[\ \t\r\n]*[{] librnd menu system (lihata) 7 0 regex/128l ha:rnd-menu-patch-v[0-9]+[\ \t\r\n]*[{] librnd menu patch (lihata) 8 0 regex/128l ha:coraleda-project-v[0-9]+[\ \t\r\n]*[{] CoralEDA/Ringdove project file (lihata) 9 0 regex/128l ha:ringdove-project-v[0-9]+[\ \t\r\n]*[{] Ringdove project file (lihata) 12 0 regex/128l ha:pcb-rnd-board-v[0-9]+[\ \t\r\n]*[{] pcb-rnd board file (lihata) 13 0 regex/128l li:pcb-rnd-subcircuit-v[0-9]+[\ \t\r\n]*[{] pcb-rnd subcircuit/footprint file (lihata) 14 0 regex/128l ha:pcb-rnd-buffer-v[0-9]+[\ \t\r\n]*[{] pcb-rnd paste buffer content (lihata) 15 0 regex/128l li:pcb-rnd-conf-v[0-9]+[\ \t\r\n]*[{] pcb-rnd configuration (lihata) 16 0 regex/128l ha:pcb-rnd-drc-query-v[0-9]+[\ \t\r\n]*[{] pcb-rnd drc query string (lihata) 17 0 regex/128l li:pcb-rnd-font-v[0-9]+[\ \t\r\n]*[{] pcb-rnd vector font (lihata) [all …]
|
H A D | c-lang | 16 >0 regex \^#include C 17 >>0 regex \^class[[:space:]]+ 18 >>>&0 regex \\{[\.\*]\\}(;)?$ \b++ 23 >0 regex \^#[[:space:]]*pragma C source text 26 >0 regex \^#[[:space:]]*(if\|ifn)def 27 >>&0 regex \^#[[:space:]]*endif$ C source text 30 >0 regex \^#[[:space:]]*(if\|ifn)def 31 >>&0 regex \^#[[:space:]]*define C source text 34 >0 regex \^[[:space:]]*char(\ \\*|\\*)(.+)(=.*)?;[[:space:]]*$ C source text 37 >0 regex \^[[:space:]]*double(\ \\*|\\*)(.+)(=.*)?;[[:space:]]*$ C source text [all …]
|
H A D | sisu | 5 0 regex \^%?[\ \t]*SiSU[\ \t]+insert SiSU text insert 6 >5 regex [0-9.]+ %s 8 0 regex \^%[\ \t]+SiSU[\ \t]+master SiSU text master 9 >5 regex [0-9.]+ %s 11 0 regex \^%?[\ \t]*SiSU[\ \t]+text SiSU text 12 >5 regex [0-9.]+ %s 14 0 regex \^%?[\ \t]*SiSU[\ \t][0-9.]+ SiSU text 15 >5 regex [0-9.]+ %s 17 0 regex \^%*[\ \t]*sisu-[0-9.]+ SiSU text 18 >5 regex [0-9.]+ %s
|
H A D | bioinformatics | 45 >>&0x00 regex =^[@]HD\t.*VN: \b, with SAM header 46 >>>&0 regex =[0-9.]+ \b version %s 122 #0 regex =^@[A-Za-z0-9_.:-]+\?\n 124 #>&1 regex =^[A-Za-z\n.~]++ 126 #>>&1 regex =^[A-Za-z0-9_.:-]*\?\n 128 #>>>&1 regex =^[!-~\n]+\n FASTQ 135 # q>0 regex =^[>][!-~\t\ ]+$ 137 #>>1 regex !=[!-'Jj;:=?@^`|~\\] FASTA 140 #>>>1 regex !=[EFIJLOPQZefijlopqz] \b, with IUPAC nucleotide codes 141 #>>>1 regex =^[EFIJLOPQZefijlopqz]+$ \b, with Amino Acid codes [all …]
|
H A D | ruby | 26 >0 regex \^[[:space:]]*require[[:space:]]'[A-Za-z_/.]+' 27 >>0 regex def\ [a-z]|\ do$ 28 >>>&0 regex \^[[:space:]]*end([[:space:]]+[;#].*)?$ Ruby script text 31 0 regex \^[[:space:]]*(class|module)[[:space:]][A-Z] 32 >0 regex (modul|includ)e\ [A-Z]|def\ [a-z] 33 >>&0 regex \^[[:space:]]*end([[:space:]]+[;#].*)?$ Ruby script text 37 0 regex \^[[:space:]]*(class|module)[[:space:]][A-Z] 38 >&0 regex \^[[:space:]]*end([[:space:]]+[;#if].*)?$ Ruby script text 45 >0 regex \^[[:space:]]*def\ [a-z]|def\ [[:alpha:]]+::[a-z] 46 >>&0 regex \^[[:space:]]*end([[:space:]]+[;#].*)?$ Ruby script text [all …]
|
H A D | subtitle | 9 >6 regex =^[0-9][0-9] \b, rate %s 12 >>>16 regex =^[^\ ]{0,32} \b, title "%s" 13 >>>>224 regex =^[0-9]{2} \b, created %-.2s 14 >>>>>&0 regex =^[0-9]{2} \b-%-.2s 15 >>>>>>&0 regex =^[0-9]{2} \b-%-.2s 19 0 regex/20 =^1[\r\n]+0[01]:[0-9]{2}:[0-9]{2},[0-9]{3}\040--> SubRip 26 >&0 regex/255 =[0-9]{2}:[0-9]{2}\\.[0-9]{3}\040--> WebVTT subtitles 34 >>&0 regex ['"]http://www.w3.org/ns/ttml TTML subtitles
|
H A D | assembler | 5 0 regex \^[\040\t]{0,50}\\.asciiz assembler source text 7 0 regex \^[\040\t]{0,50}\\.byte assembler source text 9 0 regex \^[\040\t]{0,50}\\.even assembler source text 11 0 regex \^[\040\t]{0,50}\\.globl assembler source text 13 0 regex \^[\040\t]{0,50}\\.text assembler source text 15 0 regex \^[\040\t]{0,50}\\.file assembler source text 17 0 regex \^[\040\t]{0,50}\\.type assembler source text
|
H A D | terminfo | 17 >>12 regex \^[a-zA-Z0-9][a-zA-Z0-9.][^|]* Compiled terminfo entry "%-s" 30 >>12 regex \^[a-zA-Z0-9][a-zA-Z0-9.][^|]* Compiled 32-bit terminfo entry "%-s" 49 0 regex \^MAX=[0-9]+,[0-9]+$ 50 >1 regex \^BEG=[0-9]+,[0-9]+$ 51 >>2 regex \^SCROLL=[0-9]+,[0-9]+$ 52 >>>3 regex \^VMIN=[0-9]+$ 53 >>>>4 regex \^VTIME=[0-9]+$ 54 >>>>>5 regex \^FLAGS=0x[[:xdigit:]]+$ 55 >>>>>>6 regex \^FG=[0-9],[0-9]+$ 56 >>>>>>>7 regex \^BG=[0-9]+,[0-9]+, Solaris xcurses screen image
|
H A D | marc21 | 17 >>0 regex/1l (^[0-9]{5})[acdnp][^bhlnqsu-z] MARC21 Bibliographic 19 >>0 regex/1l (^[0-9]{5})[acdnosx][z] MARC21 Authority 21 >>0 regex/1l (^[0-9]{5})[cdn][uvxy] MARC21 Holdings 23 >>0 regex/1l (^[0-9]{5})[acdn][w] MARC21 Classification 25 >>0 regex/1l (^[0-9]{5})[cdn][q] MARC21 Community 29 >>0 regex/1l (^.{21})([^0]{2}) (non-conforming)
|
H A D | algol68 | 12 0 regex/4006 \^PROC[[:space:]][a-zA-Z0-9_[:space:]]*[[:space:]]= 14 0 regex/1024 \bMODE[\t\ ] 16 0 regex/1024 \bREF[\t\ ] 18 0 regex/1024 \bFLEX[\t\ ]\*\\[ 28 #0 regex [\t\ ]OD Algol 68 source text 31 #0 regex [\t\ ]FI Algol 68 source text
|
H A D | fsav | 70 >>11 regex \^[^:]{0,23} \b, %s 72 >>>&1 regex \^[^:]{1,6} \b, version %s 74 >>>>&1 regex \^[^:]{1,10} \b, %s signatures 76 >>>>>&1 regex \^[^:]{1,4} \b, level %s 78 #>>>>>>&1 regex \^[^:]{1,32} \b, MD5 "%s" 79 >>>>>>&1 regex \^[^:]{1,32} 81 #>>>>>>>&1 regex \^[^:]{1,255} \b, signature "%s" 82 >>>>>>>&1 regex \^[^:]{1,255} 84 >>>>>>>>&1 regex \^[^:]{1,32} \b, builder %s 86 #>>>>>>>>>&1 regex \^[^:]{1,10} \b, %s [all …]
|
H A D | dataone | 13 >&0 regex/1024 eml-[0-9]\\.[0-9]\\.[0-9]+ eml://ecoinformatics.org/%s 21 >&0 regex/1024 onedcx/v[0-9]\\.[0-9]+ https://ns.dataone.org/metadata/schema/onedcx/v1.0 28 >&0 regex/1024 mercury/terms/v[0-9]\\.[0-9] https://purl.org/ornl/schema/mercury/terms/v1.0 35 >>&0 regex/1024 gov\\.noaa\\.nodc:[0-9]+ https://www.isotc211.org/2005/gmd-noaa 38 >>&0 regex/1024 pangaea\\.dataset[0-9][0-9][0-9][0-9][0-9][0-9]+ https://www.isotc211.org/2005/gmd-… 45 >&0 regex/1024 dryad-bibo/v[0-9]\\.[0-9] https://datadryad.org/profile/v3.1
|
/freebsd/contrib/googletest/googletest/include/gtest/ |
H A D | gtest-death-test.h | 264 #define EXPECT_DEBUG_DEATH(statement, regex) \ argument 265 GTEST_EXECUTE_STATEMENT_(statement, regex) 267 #define ASSERT_DEBUG_DEATH(statement, regex) \ argument 268 GTEST_EXECUTE_STATEMENT_(statement, regex) 272 #define EXPECT_DEBUG_DEATH(statement, regex) EXPECT_DEATH(statement, regex) argument 274 #define ASSERT_DEBUG_DEATH(statement, regex) ASSERT_DEATH(statement, regex) argument 332 #define EXPECT_DEATH_IF_SUPPORTED(statement, regex) \ argument 333 EXPECT_DEATH(statement, regex) 334 #define ASSERT_DEATH_IF_SUPPORTED(statement, regex) \ argument 335 ASSERT_DEATH(statement, regex) [all …]
|
/freebsd/contrib/bmake/unit-tests/ |
H A D | varmod-subst-regex.mk | 8 all: mod-regex-compile-error 9 all: mod-regex-limits-{1,2,3,4,5,6} 10 all: mod-regex-errors-{1,2} 137 mod-regex-compile-error: 142 mod-regex-limits-1: 144 mod-regex-limits-2: 146 mod-regex-limits-3: 148 mod-regex-limits-4: 150 mod-regex-limits-5: 152 mod-regex-limits-6: [all …]
|
H A D | moderrs.mk | 20 all: mod-regex-delimiter-{1,2,3,4,5,6,7} 130 mod-regex-delimiter-1: 133 mod-regex-delimiter-2: 136 mod-regex-delimiter-3: 139 mod-regex-delimiter-4: 142 mod-regex-delimiter-5: 145 mod-regex-delimiter-6: 148 mod-regex-delimiter-7:
|
/freebsd/contrib/llvm-project/lldb/source/DataFormatters/ |
H A D | FormattersHelpers.cpp | 26 llvm::StringRef type_name, TypeFormatImpl::Flags flags, bool regex) { in AddFormat() argument 30 regex ? eFormatterMatchRegex : eFormatterMatchExact; in AddFormat() 36 llvm::StringRef type_name, bool regex) { in AddSummary() argument 38 regex ? eFormatterMatchRegex : eFormatterMatchExact; in AddSummary() 44 llvm::StringRef type_name, TypeSummaryImpl::Flags flags, bool regex) { in AddStringSummary() argument 48 regex ? eFormatterMatchRegex : eFormatterMatchExact; in AddStringSummary() 54 TypeSummaryImpl::Flags flags, bool regex) { in AddOneLineSummary() argument 59 regex ? eFormatterMatchRegex : eFormatterMatchExact; in AddOneLineSummary() 66 llvm::StringRef type_name, TypeSummaryImpl::Flags flags, bool regex) { in AddCXXSummary() argument 71 regex ? eFormatterMatchRegex : eFormatterMatchExact; in AddCXXSummary() [all …]
|
/freebsd/contrib/googletest/googletest/src/ |
H A D | gtest-port.cc | 712 void RE::Init(const char* regex) { in Init() argument 713 pattern_ = regex; in Init() 728 const size_t full_regex_len = strlen(regex) + 10; in Init() 731 snprintf(full_pattern, full_regex_len, "^(%s)$", regex); in Init() 742 const char* const partial_regex = (*regex == '\0') ? "()" : regex; in Init() 746 << "Regular expression \"" << regex in Init() 814 static std::string FormatRegexSyntaxError(const char* regex, int index) { in FormatRegexSyntaxError() argument 816 << " in simple regular expression \"" << regex << "\": ") in FormatRegexSyntaxError() 822 bool ValidateRegex(const char* regex) { in ValidateRegex() argument 823 if (regex == nullptr) { in ValidateRegex() [all …]
|
/freebsd/tests/sys/audit/ |
H A D | inter-process.c | 98 const char *regex = "msgget.*return,failure.*No such file or directory"; in ATF_TC_BODY() local 101 check_audit(fds, regex, pipefd); in ATF_TC_BODY() 154 const char *regex = "msgsnd.*Message IPC.*return,failure : Bad address"; in ATF_TC_BODY() local 157 check_audit(fds, regex, pipefd); in ATF_TC_BODY() 214 const char *regex = "msgrcv.*return,failure : Invalid argument"; in ATF_TC_BODY() local 217 check_audit(fds, regex, pipefd); in ATF_TC_BODY() 261 const char *regex = "msgctl.*IPC_RMID.*return,failur.*Invalid argument"; in ATF_TC_BODY() local 264 check_audit(fds, regex, pipefd); in ATF_TC_BODY() 311 const char *regex = "msgctl.*IPC_STAT.*return,failur.*Invalid argument"; in ATF_TC_BODY() local 314 check_audit(fds, regex, pipefd); in ATF_TC_BODY() [all …]
|
/freebsd/lib/libc/regex/grot/ |
H A D | Makefile | 7 PATHS= ${LIBC_SRCTOP}/regex ${LIBC_SRCTOP}/locale ${SRCTOP}/include 52 sh mkh $(MKHFLAGS) -i _REGEX_H_ $(REGEXHSRC) >regex.tmp 53 cmp -s regex.tmp regex.h 2>/dev/null || cp regex.tmp regex.h 54 rm -f regex.tmp 56 regex.h: h 58 regcomp.o regexec.o regfree.o debug.o: utils.h regex.h regex2.h 95 rm -f junk* core regex.tmp lint 98 rm -f regex.h
|
/freebsd/lib/libc/regex/ |
H A D | Makefile.inc | 2 .PATH: ${LIBC_SRCTOP}/regex 8 SYM_MAPS+=${LIBC_SRCTOP}/regex/Symbol.map 12 MAN+= regex.3 15 MLINKS+=regex.3 regcomp.3 regex.3 regexec.3 regex.3 regerror.3
|
/freebsd/contrib/kyua/utils/text/ |
H A D | regex_test.cpp | 112 const text::regex regex = text::regex::compile("number is ([0-9]+)", 1); in ATF_TEST_CASE_BODY() local 115 const text::regex_matches matches = regex.match("my number is 581."); in ATF_TEST_CASE_BODY() 123 const text::regex_matches matches = regex.match("your number is 6"); in ATF_TEST_CASE_BODY() 135 const text::regex regex1 = text::regex::compile("foo", 0, false); in ATF_TEST_CASE_BODY() 144 const text::regex regex2 = text::regex::compile("foo", 0, true); in ATF_TEST_CASE_BODY() 160 text::regex::compile("this is (unbalanced", 0)); in ATF_TEST_CASE_BODY()
|
H A D | regex.cpp | 200 struct utils::text::regex::impl : utils::noncopyable { 241 text::regex::regex(std::shared_ptr< impl > pimpl) : _pimpl(pimpl) in regex() function in text::regex 247 text::regex::~regex(void) in ~regex() 263 text::regex 264 text::regex::compile(const std::string& regex_, const std::size_t ngroups, in compile() 267 return regex(std::shared_ptr< impl >(new impl(regex_, ngroups, in compile() 278 text::regex::match(const std::string& str) const in match() 301 return regex::compile(regex_, ngroups, ignore_case).match(str); in match_regex()
|
H A D | regex.hpp | 52 friend class regex; 68 class regex { class 74 regex(std::shared_ptr< impl >); 77 ~regex(void); 79 static regex compile(const std::string&, const std::size_t,
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | Regex.cpp | 26 Regex::Regex(StringRef regex, RegexFlags Flags) { in Regex() argument 29 preg->re_endp = regex.end(); in Regex() 36 error = llvm_regcomp(preg, regex.data(), flags|REG_PEND); in Regex() 39 Regex::Regex(StringRef regex, unsigned Flags) in Regex() argument 40 : Regex(regex, static_cast<RegexFlags>(Flags)) {} in Regex() 42 Regex::Regex(Regex &®ex) { in Regex() argument 43 preg = regex.preg; in Regex() 44 error = regex.error; in Regex() 45 regex.preg = nullptr; in Regex() 46 regex in Regex() [all...] |
/freebsd/contrib/llvm-project/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() 188 std::regex(R"(.*\n>>> defined in .*\n>>> referenced by (\S+):(\d+))"), in getLocation() 189 std::regex(R"((\S+):(\d+): unclosed quote)"), in getLocation() [all …]
|