Lines Matching +full:1 +full:c
9 $1 == "pat" { pattern = $2; next }
11 check = ($1 ~ pattern)
12 printf("%s ~ /%s/ -> should be %d, is %d\n", $1, pattern, $2, check)
17 pat ab{0}c
18 ac 1
21 pat a(b{0})c
22 ac 1
25 pat ab{0}*c
26 ac 1
29 pat a(b{0})*c
30 ac 1
33 pat ab{0,}c
34 ac 1
35 abc 1
37 pat a(b{0,})c
38 ac 1
39 abc 1
41 pat ab{0,}*c
42 ac 1
43 abc 1
45 pat a(b{0,})*c
46 ac 1
47 abc 1
49 pat ab{1}c
51 abc 1
54 pat ab{1,}c
56 abc 1
57 abbc 1
58 abbbc 1
59 abbbbc 1
61 pat ab{0,1}c
62 ac 1
63 abc 1
66 pat ab{0,3}c
67 ac 1
68 abc 1
69 abbc 1
70 abbbc 1
73 pat ab{1,3}c
75 abc 1
76 abbc 1
77 abbbc 1
82 ac ~ /ab{0}c/ -> should be 1, is 1
83 abc ~ /ab{0}c/ -> should be 0, is 0
84 ac ~ /a(b{0})c/ -> should be 1, is 1
85 abc ~ /a(b{0})c/ -> should be 0, is 0
86 ac ~ /ab{0}*c/ -> should be 1, is 1
87 abc ~ /ab{0}*c/ -> should be 0, is 0
88 ac ~ /a(b{0})*c/ -> should be 1, is 1
89 abc ~ /a(b{0})*c/ -> should be 0, is 0
90 ac ~ /ab{0,}c/ -> should be 1, is 1
91 abc ~ /ab{0,}c/ -> should be 1, is 1
92 ac ~ /a(b{0,})c/ -> should be 1, is 1
93 abc ~ /a(b{0,})c/ -> should be 1, is 1
94 ac ~ /ab{0,}*c/ -> should be 1, is 1
95 abc ~ /ab{0,}*c/ -> should be 1, is 1
96 ac ~ /a(b{0,})*c/ -> should be 1, is 1
97 abc ~ /a(b{0,})*c/ -> should be 1, is 1
98 ac ~ /ab{1}c/ -> should be 0, is 0
99 abc ~ /ab{1}c/ -> should be 1, is 1
100 abbc ~ /ab{1}c/ -> should be 0, is 0
101 ac ~ /ab{1,}c/ -> should be 0, is 0
102 abc ~ /ab{1,}c/ -> should be 1, is 1
103 abbc ~ /ab{1,}c/ -> should be 1, is 1
104 abbbc ~ /ab{1,}c/ -> should be 1, is 1
105 abbbbc ~ /ab{1,}c/ -> should be 1, is 1
106 ac ~ /ab{0,1}c/ -> should be 1, is 1
107 abc ~ /ab{0,1}c/ -> should be 1, is 1
108 abbc ~ /ab{0,1}c/ -> should be 0, is 0
109 ac ~ /ab{0,3}c/ -> should be 1, is 1
110 abc ~ /ab{0,3}c/ -> should be 1, is 1
111 abbc ~ /ab{0,3}c/ -> should be 1, is 1
112 abbbc ~ /ab{0,3}c/ -> should be 1, is 1
113 abbbbc ~ /ab{0,3}c/ -> should be 0, is 0
114 ac ~ /ab{1,3}c/ -> should be 0, is 0
115 abc ~ /ab{1,3}c/ -> should be 1, is 1
116 abbc ~ /ab{1,3}c/ -> should be 1, is 1
117 abbbc ~ /ab{1,3}c/ -> should be 1, is 1
118 abbbbc ~ /ab{1,3}c/ -> should be 0, is 0
123 diff foo1 foo2 || echo 'BAD: T.int-expr (1)'