/dports/textproc/bibclean/bibclean-3.06/test/okay/ |
H A D | match.out | 5 %% 5 ["02 " # apr ]: matches "10 " # oct 6 %% 6 ["03 " # apr ]: matches "10 " # oct 7 %% 7 ["03 " # jul ]: matches "10 " # oct 8 %% 8 ["05 " # apr ]: matches "10 " # oct 9 %% 9 ["05 " # dec ]: matches "10 " # oct 10 %% 10 ["05 " # feb ]: matches "10 " # oct 11 %% 11 ["05 " # jan ]: matches "10 " # oct 12 %% 12 ["05 " # jul ]: matches "10 " # oct 391 %% 391 ["0" ]: matches 23 392 %% 392 ["001" ]: matches 23 [all …]
|
/dports/x11/fuzzel/fuzzel/ |
H A D | match.c | 26 struct matches *matches = malloc(sizeof(*matches)); in matches_init() local 27 *matches = (struct matches) { in matches_init() 29 .matches = malloc(applications->count * sizeof(matches->matches[0])), in matches_init() 39 matches_destroy(struct matches *matches) in matches_destroy() argument 44 free(matches->matches); in matches_destroy() 88 return &matches->matches[idx]; in matches_get() 95 ? &matches->matches[matches->selected] in matches_get_match() 233 … qsort(matches->matches, matches->match_count, sizeof(matches->matches[0]), &sort_match_by_count); in matches_update() 271 matches->matches[matches->match_count++] = (struct match){ in matches_update() 279 … qsort(matches->matches, matches->match_count, sizeof(matches->matches[0]), &sort_match_by_count); in matches_update() [all …]
|
/dports/sysutils/goawk/goawk-1.9.2/testdata/output/ |
H A D | t.re3 | 1 /dev/rrp3: matches /dev/rrp3: 2 17379 mel matches 17379 3 16693 bwk me matches 16693 5 15713 srb matches 15713 6 11895 lem matches 11895 7 10409 scj matches 10409 8 10252 rhm matches 10252 10 9748 a68 matches 9748 11 9492 sif matches 9492 12 9190 pjw matches 9190 [all …]
|
H A D | t.re1 | 1 /dev/rrp3: matches /[a-cg-j1-3]/ 2 /dev/rrp3: matches /[^aeiou]/ 3 17379 mel matches /[a-cg-j1-3]/ 4 17379 mel matches /[^aeiou]/ 6 16693 bwk me matches /[^aeiou]/ 10 15713 srb matches /[^aeiou]/ 12 11895 lem matches /[^aeiou]/ 14 10409 scj matches /[^aeiou]/ 16 10252 rhm matches /[^aeiou]/ 20 9748 a68 matches /[^aeiou]/ [all …]
|
H A D | t.re1a | 1 /dev/rrp3: matches /[a-cg-j1-3]/ 2 /dev/rrp3: matches /[^aeiou]/ 3 17379 mel matches /[a-cg-j1-3]/ 4 17379 mel matches /[^aeiou]/ 6 16693 bwk me matches /[^aeiou]/ 10 15713 srb matches /[^aeiou]/ 12 11895 lem matches /[^aeiou]/ 14 10409 scj matches /[^aeiou]/ 16 10252 rhm matches /[^aeiou]/ 20 9748 a68 matches /[^aeiou]/ [all …]
|
/dports/net-p2p/bazarr/bazarr-1.0.2/libs/rebulk/test/ |
H A D | test_pattern.py | 22 matches = list(pattern.matches(self.input_string)) 37 matches = list(pattern.matches(self.input_string)) 42 matches = list(pattern.matches(self.input_string)) 49 matches = list(pattern.matches(self.input_string)) 56 matches = list(pattern.matches(self.input_string)) 62 matches = list(pattern.matches(self.input_string)) 68 matches = list(pattern.matches(self.input_string)) 88 matches = list(pattern.matches(self.input_string)) 94 matches = list(pattern.matches(self.input_string)) 108 matches = list(pattern.matches(self.input_string)) [all …]
|
H A D | test_processors.py | 15 matches = Matches(pattern.matches(input_string)) 28 matches = Matches(pattern.matches(input_string)) 80 matches = Matches(re1.matches(input_string)) 81 matches.extend(re2.matches(input_string)) 96 matches.extend(re2.matches(input_string)) 110 matches.extend(re2.matches(input_string)) 124 matches.extend(re2.matches(input_string)) 138 matches.extend(re2.matches(input_string)) 152 matches.extend(re2.matches(input_string)) 166 matches.extend(re2.matches(input_string)) [all …]
|
H A D | test_rebulk.py | 25 matches = rebulk.matches(input_string) 43 matches = rebulk.matches(input_string) 68 matches = rebulk.matches(input_string, context) 94 matches = Rebulk()\ 107 matches = Rebulk() \ 129 matches = base.rebulk(child).matches(input_string) 183 matches = rebulk.matches(input_string) 201 matches = rebulk.matches("1984 keep only last 1968 entry 1982 case") 281 matches = rebulk.matches("don't grab [word] if it's in braket") 284 matches = rebulk.matches("don't grab word at all") [all …]
|
H A D | test_chain.py | 139 matches = chain.matches(input_string) 153 matches = chain.matches(input_string) 158 matches = chain.matches(input_string) 163 matches = chain.matches(input_string) 168 matches = chain.matches(input_string) 173 matches = chain.matches(input_string) 178 matches = chain.matches(input_string) 248 matches = rebulk.matches("test-01x02-03") 260 matches = rebulk.matches("test-S01E02-03") 366 matches = rebulk.matches("Some S01") [all …]
|
H A D | test_rules.py | 22 assert len(matches) == 0 28 assert len(matches) == 1 47 assert len(matches) == 2 58 assert len(matches) == 1 64 assert len(matches) == 2 76 assert len(matches) == 0 83 assert len(matches) == 0 91 assert len(matches) == 2 98 assert len(matches) == 2 105 assert len(matches) == 2 [all …]
|
H A D | test_match.py | 101 matches = Matches() 134 matches = Matches() 162 matches.clear() 173 matches = Matches() 188 matches = Matches() 194 del matches[1:3] 201 matches = Matches() 339 selection = matches.previous(matches.named("2-str")[0]) 348 selection = matches.next(matches.named("2-str", 0)) 417 matches.extend(RePattern(r"(\w+)", name="words").matches(input_string)) [all …]
|
/dports/devel/py-rebulk/rebulk-3.1.0/rebulk/test/ |
H A D | test_pattern.py | 22 matches = list(pattern.matches(self.input_string)) 37 matches = list(pattern.matches(self.input_string)) 42 matches = list(pattern.matches(self.input_string)) 49 matches = list(pattern.matches(self.input_string)) 56 matches = list(pattern.matches(self.input_string)) 62 matches = list(pattern.matches(self.input_string)) 68 matches = list(pattern.matches(self.input_string)) 88 matches = list(pattern.matches(self.input_string)) 94 matches = list(pattern.matches(self.input_string)) 108 matches = list(pattern.matches(self.input_string)) [all …]
|
H A D | test_rebulk.py | 25 matches = rebulk.matches(input_string) 43 matches = rebulk.matches(input_string) 68 matches = rebulk.matches(input_string, context) 94 matches = Rebulk()\ 107 matches = Rebulk() \ 167 matches = base.rebulk(child).matches(input_string) 221 matches = rebulk.matches(input_string) 239 matches = rebulk.matches("1984 keep only last 1968 entry 1982 case") 319 matches = rebulk.matches("don't grab [word] if it's in braket") 322 matches = rebulk.matches("don't grab word at all") [all …]
|
H A D | test_processors.py | 15 matches = Matches(pattern.matches(input_string)) 28 matches = Matches(pattern.matches(input_string)) 80 matches = Matches(re1.matches(input_string)) 81 matches.extend(re2.matches(input_string)) 96 matches.extend(re2.matches(input_string)) 110 matches.extend(re2.matches(input_string)) 124 matches.extend(re2.matches(input_string)) 138 matches.extend(re2.matches(input_string)) 152 matches.extend(re2.matches(input_string)) 166 matches.extend(re2.matches(input_string)) [all …]
|
H A D | test_chain.py | 139 matches = chain.matches(input_string) 153 matches = chain.matches(input_string) 158 matches = chain.matches(input_string) 163 matches = chain.matches(input_string) 168 matches = chain.matches(input_string) 173 matches = chain.matches(input_string) 178 matches = chain.matches(input_string) 248 matches = rebulk.matches("test-01x02-03") 260 matches = rebulk.matches("test-S01E02-03") 366 matches = rebulk.matches("Some S01") [all …]
|
H A D | test_rules.py | 22 assert len(matches) == 0 28 assert len(matches) == 1 47 assert len(matches) == 2 58 assert len(matches) == 1 64 assert len(matches) == 2 76 assert len(matches) == 0 83 assert len(matches) == 0 91 assert len(matches) == 2 98 assert len(matches) == 2 105 assert len(matches) == 2 [all …]
|
H A D | test_match.py | 101 matches = Matches() 134 matches = Matches() 162 matches.clear() 173 matches = Matches() 188 matches = Matches() 194 del matches[1:3] 201 matches = Matches() 339 selection = matches.previous(matches.named("2-str")[0]) 348 selection = matches.next(matches.named("2-str", 0)) 417 matches.extend(RePattern(r"(\w+)", name="words").matches(input_string)) [all …]
|
/dports/devel/statcvs/statcvs-0.7.0/tests-src/net/sf/statcvs/util/ |
H A D | FilePatternMatcherTest.java | 48 assertTrue(fpm.matches("test")); in testSimplePattern() 49 assertTrue(!fpm.matches("foo")); in testSimplePattern() 80 assertTrue(fpm.matches("abc")); in testQuestionMarkPattern2() 81 assertTrue(fpm.matches("123")); in testQuestionMarkPattern2() 82 assertTrue(fpm.matches(" ")); in testQuestionMarkPattern2() 124 assertTrue(!fpm.matches("A")); in testAsteriskPattern3() 217 assertTrue(fpm.matches("a")); in testMultiplePatterns1() 218 assertTrue(fpm.matches("b")); in testMultiplePatterns1() 219 assertTrue(fpm.matches("c")); in testMultiplePatterns1() 229 assertTrue(fpm.matches("a")); in testMultiplePatterns2() [all …]
|
/dports/sysutils/slurm-wlm/slurm-20.02.7/testsuite/expect/ |
H A D | test37.1 | 60 set matches 0 143 set matches 0 149 set matches 0 168 set matches 0 194 set matches 0 216 set matches 0 239 set matches 0 265 set matches 0 287 set matches 0 310 set matches 0 [all …]
|
/dports/textproc/py-pygments-25/Pygments-2.5.2/tests/examplefiles/ |
H A D | example1.cadl | 8 data matches { 10 items cardinality matches {1..*; unordered} matches { 12 value matches { 17 value matches { 23 ELEMENT[id50] occurrences matches {0..1} matches { -- Future Use 24 value matches { 28 ELEMENT[id7] occurrences matches {0..1} matches { -- Overall Comment 29 value matches { 34 items matches { 50 ELEMENT[id22] occurrences matches {0..1} matches { -- Certainty [all …]
|
/dports/textproc/py-pygments/Pygments-2.7.2/tests/examplefiles/ |
H A D | example1.cadl | 8 data matches { 10 items cardinality matches {1..*; unordered} matches { 12 value matches { 17 value matches { 23 ELEMENT[id50] occurrences matches {0..1} matches { -- Future Use 24 value matches { 28 ELEMENT[id7] occurrences matches {0..1} matches { -- Overall Comment 29 value matches { 34 items matches { 50 ELEMENT[id22] occurrences matches {0..1} matches { -- Certainty [all …]
|
/dports/math/py-or-tools/or-tools-9.2/examples/flatzinc/ |
H A D | soccer_puzzle.fzn | 32 array [1..25] of var 0..3: matches; 34 constraint int_eq(matches[1], 0); 35 constraint int_eq(matches[7], 0); 36 constraint int_eq(matches[13], 0); 37 constraint int_eq(matches[19], 0); 38 constraint int_eq(matches[25], 0); 103 constraint int_lin_eq([-1, -1, -1, -1, -1, 1], [matches[1], matches[2], matches[3], matches[4], mat… 104 constraint int_lin_eq([-1, -1, -1, -1, -1, 1], [matches[6], matches[7], matches[8], matches[9], mat… 105 …onstraint int_lin_eq([-1, -1, -1, -1, -1, 1], [matches[11], matches[12], matches[13], matches[14],… 106 …onstraint int_lin_eq([-1, -1, -1, -1, -1, 1], [matches[16], matches[17], matches[18], matches[19],… [all …]
|
/dports/devel/premake/Premake-3.7/Tests/Vs2003/ |
H A D | Vs2003Parser.cs | 25 string[] matches; in Parse() 30 if (matches != null) in Parse() 40 switch (matches[0]) in Parse() 58 if (matches[0] != matches[1]) in Parse() 77 if (matches[0] != matches[1]) in Parse() 247 if (matches[0] == "0" || matches[0] == "1") in ParseCpp() 320 matches = matches[0].Split(';'); in ParseCpp() 385 config.ResOptions = (matches != null) ? matches[0] : ""; in ParseCpp() 637 string depends = (matches != null) ? matches[0] : null; in ParseCs() 665 matches = matches[0].Split(';'); in ParseUserFile() [all …]
|
/dports/devel/premake/Premake-3.7/Tests/Vs2002/ |
H A D | Vs2002Parser.cs | 25 string[] matches; in Parse() 29 if (matches != null) in Parse() 42 switch (matches[0]) in Parse() 64 if (matches != null) in Parse() 216 config.BuildOptions = (matches != null) ? matches[0] : String.Empty; in ParseCpp() 256 if (matches[0] == "0" || matches[0] == "1") in ParseCpp() 329 matches = matches[0].Split(';'); in ParseCpp() 394 config.ResOptions = (matches != null) ? matches[0] : ""; in ParseCpp() 631 string depends = (matches != null) ? matches[0] : null; in ParseCs() 659 matches = matches[0].Split(';'); in ParseUserFile() [all …]
|
/dports/devel/ipython5/ipython-5.10.0/IPython/core/tests/ |
H A D | test_completer.py | 336 nt.assert_in('d.x', matches) 358 nt.assert_in('b=', matches) 361 nt.assert_in('b=', matches) 363 nt.assert_in('b=', matches) 475 nt.assert_in("abc", matches) 508 assert not any(m.endswith((']', '"', "'")) for m in matches), matches 517 assert not any(m.endswith((']', '"', "'")) for m in matches), matches 525 nt.assert_in("b", matches) 533 nt.assert_in("b", matches) 794 nt.assert_in('io', matches) [all …]
|