-
Notifications
You must be signed in to change notification settings - Fork 0
/
yREGEX_exec.unit
475 lines (355 loc) · 104 KB
/
yREGEX_exec.unit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
#!/usr/local/bin/koios
# koios-polos (axis of heaven) unit testing meta-language
#23456789-12 123456789-123456789-123456789-12345 123456789-123456789-123456 123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789- 123456789- 123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789- 123456789-123456789-
#==(verb)=== ===========(description)=========== =====(function)=========== ========================(arguments)================================================================= ==(test)== ==========================(results)================================================================= ========(var)=======
PREP include the prototype headers - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
incl include public header yREGEX.h - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
incl include private header yREGEX_priv.h - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#23456789-12 123456789-123456789-123456789-12345 123456789-123456789-123456 123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789- 123456789- 123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789- 123456789-123456789-
#==(verb)=== ===========(description)=========== =====(function)=========== ========================(arguments)================================================================= ==(test)== ==========================(results)================================================================= ========(var)=======
SCRP (EXEC) verify executing char matches yregex_exec__literal, yREGEX_exec ((01.---)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
COND initialize the testing environment - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((01.001)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec start testing yregex__unit_quiet i_equal 0
GROUP verify the detailed char literal function - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
COND initialize with matchable char - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((01.002)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the pattern yREGEX_comp "t" i_equal 0
get get saved regex yregex_comp__unit "regex" , 0 s_equal COMP regex : 3 [(t) ]
exec save the text yregex_exec__prep "test" i_equal 0
exec call regex literal match yregex_exec__literal 0 , 1, 0 i_greater 0
exec call regex literal match yregex_exec__literal 0 , 1, 1 i_equal 0
exec call regex literal match yregex_exec__literal 0 , 1, 2 i_equal 0
exec call regex literal match yregex_exec__literal 0 , 1, 3 i_greater 0
COND initialize with unmatchable char - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((01.003)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the pattern yREGEX_comp "_" i_equal 0
get get saved regex yregex_comp__unit "regex" , 0 s_equal COMP regex : 3 [(_) ]
exec save the text yregex_exec__prep "test" i_equal 0
exec call regex literal match yregex_exec__literal 0 , 1, 0 i_equal 0
exec call regex literal match yregex_exec__literal 0 , 1, 1 i_equal 0
exec call regex literal match yregex_exec__literal 0 , 1, 2 i_equal 0
exec call regex literal match yregex_exec__literal 0 , 1, 3 i_equal 0
COND initialize with longer regex - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((01.004)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the pattern yREGEX_comp "_es" i_equal 0
get get saved regex yregex_comp__unit "regex" , 0 s_equal COMP regex : 5 [(_es) ]
exec call the regex initialization yregex_exec__prep "test" i_equal 0
COND conduct a quick run on 1st char - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((01.005)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec call regex literal match yregex_exec__literal 1 , 1, 0 i_equal 0
exec call regex literal match yregex_exec__literal 1 , 1, 1 i_equal 0
exec call regex literal match yregex_exec__literal 1 , 1, 2 i_equal 0
exec call regex literal match yregex_exec__literal 1 , 1, 3 i_equal 0
COND conduct a quick run on 2nd char - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((01.006)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec call regex literal match yregex_exec__literal 1 , 2, 0 i_equal 0
exec call regex literal match yregex_exec__literal 1 , 2, 1 i_greater 0
exec call regex literal match yregex_exec__literal 1 , 2, 2 i_equal 0
exec call regex literal match yregex_exec__literal 1 , 2, 3 i_equal 0
COND conduct a quick run on 3rd char - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((01.007)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec call regex literal match yregex_exec__literal 1 , 3, 0 i_equal 0
exec call regex literal match yregex_exec__literal 1 , 3, 1 i_equal 0
exec call regex literal match yregex_exec__literal 1 , 3, 2 i_greater 0
exec call regex literal match yregex_exec__literal 1 , 3, 3 i_equal 0
GROUP test using exec function - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
COND initialize with simple char (start) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((01.008)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the pattern yREGEX_comp "t" i_equal 0
exec perform the matching yREGEX_exec "testy" i_greater 0
COND initialize with simple char (middle) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((01.009)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the pattern yREGEX_comp "e" i_equal 0
exec perform the matching yREGEX_exec "testy" i_greater 0
COND initialize with simple char (end) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((01.010)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the pattern yREGEX_comp "y" i_equal 0
exec perform the matching yREGEX_exec "testy" i_greater 0
COND initialize with two char series - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((01.011)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the pattern yREGEX_comp "es" i_equal 0
exec perform the matching yREGEX_exec "testy" i_greater 0
COND initialize with unmatchable first char - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((01.012)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the pattern yREGEX_comp "_es" i_equal 0
exec perform the matching yREGEX_exec "testy" i_equal 0
COND initialize with wrong order - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((01.013)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the pattern yREGEX_comp "se" i_equal 0
exec perform the matching yREGEX_exec "testy" i_equal 0
COND initialize with full match - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((01.014)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the pattern yREGEX_comp "test" i_equal 0
exec perform the matching yREGEX_exec "testy" i_greater 0
GROUP wrap up - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
COND complete testing - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((01.015)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec stop testing yregex__unit_end i_equal 0
#23456789-12 123456789-123456789-123456789-12345 123456789-123456789-123456 123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789- 123456789- 123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789- 123456789-123456789-
#==(verb)=== ===========(description)=========== =====(function)=========== ========================(arguments)================================================================= ==(test)== ==========================(results)================================================================= ========(var)=======
SCRP (EXEC) verify anchoring of matches yREGEX_comp, yREGEX_exec ((02.---)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
COND initialize the testing environment - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((02.001)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec start testing yregex__unit_quiet i_equal 0
local hold a common source string - - - - - - - - - - - - - char x_test [LEN_HUND] = "anOther $30 twO One ^able";
GROUP test BOL matching through main interface - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
COND one character match - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((02.002)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "^a" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 1
exec check the match yregex_find__unit "match" , 0 s_equal FIND match ( 0) : 0 1[a]
COND failed one character attempt - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((02.003)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "^n" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 0
exec check the match yregex_find__unit "match" , 0 s_equal FIND match ( 0) : -1 -1[]
COND five character match - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((02.004)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "^anOth" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 1
exec check the match yregex_find__unit "match" , 0 s_equal FIND match ( 0) : 0 5[anOth]
COND failed five character match (capitalization) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((02.005)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "^anoth" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 0
exec check the match yregex_find__unit "match" , 0 s_equal FIND match ( 0) : -1 -1[]
COND failed match in middle - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((02.006)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "^two" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 0
exec check the match yregex_find__unit "match" , 0 s_equal FIND match ( 0) : -1 -1[]
COND failed match in end - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((02.007)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "^able" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 0
exec check the match yregex_find__unit "match" , 0 s_equal FIND match ( 0) : -1 -1[]
COND literal match of anchor character - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((02.008)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "\\^able" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 1
exec check the match yregex_find__unit "match" , 0 s_equal FIND match ( 0) : 20 5[^able]
COND back to true anchor - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((02.009)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "^able" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 0
exec check the match yregex_find__unit "match" , 0 s_equal FIND match ( 0) : -1 -1[]
COND failed late appearance of anchor - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((02.010)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "anO^" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 0
exec check the match yregex_find__unit "match" , 0 s_equal FIND match ( 0) : -1 -1[]
COND anchor in middle of text - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((02.011)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "twO^an" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 0
exec check the match yregex_find__unit "match" , 0 s_equal FIND match ( 0) : -1 -1[]
GROUP test EOL matching through main interface - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
COND one character match - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((02.012)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "e$" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 1
exec check the match yregex_find__unit "match" , 0 s_equal FIND match ( 0) : 24 1[e]
COND failed one character attempt - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((02.013)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "a$" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 0
exec check the match yregex_find__unit "match" , 0 s_equal FIND match ( 0) : -1 -1[]
COND three character match - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((02.014)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "ble$" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 1
exec check the match yregex_find__unit "match" , 0 s_equal FIND match ( 0) : 22 3[ble]
COND failed match at the beginning - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((02.015)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "anOth$" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 0
exec check the match yregex_find__unit "match" , 0 s_equal FIND match ( 0) : -1 -1[]
COND failed match in the middle - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((02.016)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "twO$" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 0
exec check the match yregex_find__unit "match" , 0 s_equal FIND match ( 0) : -1 -1[]
COND find a literal version of anchor - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((02.017)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "\\$30" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 1
exec check the match yregex_find__unit "match" , 0 s_equal FIND match ( 0) : 8 3[$30]
COND back to a true anchor - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((02.018)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "$30" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 0
exec check the match yregex_find__unit "match" , 0 s_equal FIND match ( 0) : -1 -1[]
COND anchor in middle of text - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((02.019)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "One ^$able" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 0
exec check the match yregex_find__unit "match" , 0 s_equal FIND match ( 0) : -1 -1[]
GROUP test BOW and EOW matching through main interface - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
COND one character match (3) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((02.020)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "O" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 3
exec check the match yregex_find__unit "match" , 0 s_equal FIND match ( 0) : 2 1[O]
COND same character at EOW - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((02.021)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "O>" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 1
exec check the match yregex_find__unit "match" , 0 s_equal FIND match ( 0) : 14 1[O]
COND same character at BOW - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((02.022)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "<O" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 1
exec check the match yregex_find__unit "match" , 0 s_equal FIND match ( 0) : 16 1[O]
COND more characters at EOW - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((02.023)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "twO>" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 1
exec check the match yregex_find__unit "match" , 0 s_equal FIND match ( 0) : 12 3[twO]
COND more characters at not EOW - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((02.024)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "anO>" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 0
exec check the match yregex_find__unit "match" , 0 s_equal FIND match ( 0) : -1 -1[]
COND singe character not EOW - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((02.025)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "t>" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 0
exec check the match yregex_find__unit "match" , 0 s_equal FIND match ( 0) : -1 -1[]
COND test symbol break for BOW - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((02.026)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "<30" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 1
exec check the match yregex_find__unit "match" , 0 s_equal FIND match ( 0) : 9 2[30]
COND verify zero width EOW - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((02.027)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "twO> One" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 1
exec check the match yregex_find__unit "match" , 0 s_equal FIND match ( 0) : 12 7[twO One]
COND verify zero width BOW - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((02.028)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "twO <One" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 1
exec check the match yregex_find__unit "match" , 0 s_equal FIND match ( 0) : 12 7[twO One]
COND verify early column fixing - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((02.029)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "^.{1,}O" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 3
exec check the match yregex_find__unit "match" , 0 s_equal FIND match ( 0) : 0 3[anO]
COND verify just-on column fixing - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((02.029)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "^.{2,}O" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 3
exec check the match yregex_find__unit "match" , 0 s_equal FIND match ( 0) : 0 3[anO]
COND verify past column fixing (second match) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((02.029)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "^.{3,}O" i_equal 0
exec execute the matching yREGEX_exec x_test i_greater 0
exec check the match yregex_find__unit "match" , 0 s_equal FIND match ( 0) : 0 15[anOther $30 twO]
COND attempt exact column fixing miss - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((02.029)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "^.{1}O" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 0
exec check the match yregex_find__unit "match" , 0 s_equal FIND match ( 0) : -1 -1[]
COND verify exact column fixing - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((02.029)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "^.{2}O" i_equal 0
exec execute the matching yREGEX_exec x_test i_greater 0
exec check the match yregex_find__unit "match" , 0 s_equal FIND match ( 0) : 0 3[anO]
COND complete testing - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((02.030)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec stop testing yregex__unit_end i_equal 0
#23456789-12 123456789-123456789-123456789-12345 123456789-123456789-123456 123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789- 123456789- 123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789- 123456789-123456789-
#==(verb)=== ===========(description)=========== =====(function)=========== ========================(arguments)================================================================= ==(test)== ==========================(results)================================================================= ========(var)=======
SCRP (EXEC) verify AND matches yREGEX_comp, yREGEX_exec ((03.---)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
COND initialize the testing environment - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.001)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec start testing yregex__unit_quiet i_equal 0
local hold a common source string - - - - - - - - - - - - - char x_test [LEN_HUND] = "black brown blub blued blue redd4y red redish green gr#e1n gre2n";
GROUP check that match lengths are considered - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
COND second is like first, but shorter - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.002)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "(#blue)(;1blu)" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 2
COND second is like first, but same length - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.003)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "(#blue)(;1blue)" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 2
COND second is like first, but longer - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.004)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "(#blu)(;1blue)" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 0
GROUP check conflicting matches - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
COND two totally different matches - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.005)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "(#blue)(;1red)" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 0
COND two totally different matches - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.006)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "(#red)(;1blu)" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 0
GROUP check real combinations - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
COND start by finding words starting with BL - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.007)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "(#bl\\w*>)" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 4
COND check for starting with BLA - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.008)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "(#bl\\w*>)(;1bla)" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 1
COND check for starting with BLU - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.009)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "(#bl\\w*>)(;1blu)" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 3
COND check for having an A - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.010)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "(#bl\\w*>)(;1\\w*a)" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 1
COND check for having an A (use dot operator) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.011)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "(#bl\\w*>)(;1.*a)" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 1
COND check for ending with k - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.012)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "(#bl\\w*>)(;1.*k)" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 1
COND check for having a number - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.013)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "(#bl\\w*>)(;1.*\\d)" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 0
COND check for having a number - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.014)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "(#gr\\w*>)(;1.*\\d)" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 1
COND check for having a number - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.015)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "(#re\\w*>)(;1.*\\d)" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 2
COND check for having a number and an E - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.016)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "(#re\\w*>)(;1.*\\d)(;1.*y)" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 1
GROUP test and and or combos - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
COND check for the basic branches - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.017)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "<(#re|gr)\\w*>" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 6
COND put all in group - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.018)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "(#<re\\w*>|<gr\\w*>)" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 6
COND check for AND only on second part of OR - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.019)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "(#<re\\w*>|<gr\\w*>)(;1.*\\d)" i_equal 0
exec execute the matching yREGEX_exec x_test i_equal 2
GROUP password tests from internet - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
COND start with basic - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.020)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "\\w{6,12}" i_equal 0
exec execute the matching yREGEX_exec "password" i_equal 6
COND add anchors - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.021)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "^\\w{6,12}$" i_equal 0
exec execute the matching yREGEX_exec "password" i_equal 1
COND too long (fail) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.022)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "^\\w{6,12}$" i_equal 0
exec execute the matching yREGEX_exec "passwordpassword" i_equal 0
COND too short (fail) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.023)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "^\\w{6,12}$" i_equal 0
exec execute the matching yREGEX_exec "pass" i_equal 0
COND prefix and suffix instead - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.024)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "login \\[\\w{6,12}\\] test" i_equal 0
exec execute the matching yREGEX_exec "password" i_equal 0
COND fix to pass - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.025)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "login \\[\\w{6,12}\\] test" i_equal 0
exec execute the matching yREGEX_exec "login [password] test" i_equal 1
COND add a capture group - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.026)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "login·\\[¸\\w{6,12}¹\\]·test" i_equal 0
exec execute the matching yREGEX_exec "login [password] test" i_equal 1
COND check for digit (fail) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.027)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "login \\[¸\\w{6,12}¹\\] testº1.*\\d»" i_equal 0
exec execute the matching yREGEX_exec "login [password] test" i_equal 0
COND add that digit at end - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.028)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "login \\[¸\\w{6,12}¹\\] testº1.*\\d»" i_equal 0
exec execute the matching yREGEX_exec "login [password3] test" i_equal 1
COND use spacers to make easier to read - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.029)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "login \\[¸\\w{6,12}¹\\] test²²²º1.*\\d»" i_equal 0
exec execute the matching yREGEX_exec "login [password3] test" i_equal 1
COND use shorthand set rule - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.030)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "login \\[¸\\w{6,12}¹\\] test²²²º1\\d»" i_equal 0
exec execute the matching yREGEX_exec "login [password3] test" i_equal 1
COND try it at the begging - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.031)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "login \\[¸\\w{6,12}¹\\] test²²²º1\\d»" i_equal 0
exec execute the matching yREGEX_exec "login [2password] test" i_equal 1
COND and in middle - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.032)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "login \\[¸\\w{6,12}¹\\] test²²²º1\\d»" i_equal 0
exec execute the matching yREGEX_exec "login [pass4word] test" i_equal 1
COND check for a capital letter (fail) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.033)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "login \\[¸\\w{6,12}¹\\] test²²²º1\\d»º1\\u»" i_equal 0
exec execute the matching yREGEX_exec "login [pass4word] test" i_equal 0
COND add a capital at the begining - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.034)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "login \\[¸\\w{6,12}¹\\] test²²²º1\\d»º1\\u»" i_equal 0
exec execute the matching yREGEX_exec "login [Pass4word] test" i_equal 1
COND add a capital at the end - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.035)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "login \\[¸\\w{6,12}¹\\] test²²²º1\\d»º1\\u»" i_equal 0
exec execute the matching yREGEX_exec "login [pass4worD] test" i_equal 1
COND add spacers for rules - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.036)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "login \\[¸\\w{6,12}¹\\] test²²²º1\\d»´º1\\u»" i_equal 0
exec execute the matching yREGEX_exec "login [pass4worD] test" i_equal 1
COND make all capitals - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.037)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "login \\[¸\\w{6,12}¹\\] test²²²º1\\d»º1\\u»" i_equal 0
exec execute the matching yREGEX_exec "login [PASS4WORD] test" i_equal 1
COND check for capital and lower - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.038)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "login \\[¸\\w{6,12}¹\\] test²²²º1\\d»º1\\u»º1\\l»" i_equal 0
exec execute the matching yREGEX_exec "login [PASS4WORD] test" i_equal 0
COND update to have both - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.039)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "login \\[¸\\w{6,12}¹\\] test²²²º1\\d»º1\\u»º1\\l»" i_equal 0
exec execute the matching yREGEX_exec "login [pass4WORD] test" i_equal 1
COND ask for a couple symbols (fail) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.040)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "login \\[¸.{6,12}¹\\] test²²²º1\\d»²º1\\u»²º1\\l»²º1[#\\&\\@\\!]»" i_equal 0
exec execute the matching yREGEX_exec "login [pass4WORD] test" i_equal 0
COND ask for a couple symbols - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.041)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "login \\[¸.{6,12}¹\\] test²²²º1\\d»²º1\\u»²º1\\l»²º1[#\\&\\@\\!]»" i_equal 0
exec execute the matching yREGEX_exec "login [pass4@WORD] test" i_equal 1
COND check for a short substring (fail) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.042)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "login \\[¸.{6,12}¹\\] test²²²º1\\d»´º1\\u»´º1\\l»´º1[#\\&\\@\\!]»´º1+w»" i_equal 0
exec execute the matching yREGEX_exec "login [pass4@WORD] test" i_equal 0
COND check for a short substring - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.043)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "login \\[¸.{6,12}¹\\] test²²²º1\\d»´º1\\u»´º1\\l»´º1[#\\&\\@\\!]»´º1+W»" i_equal 0
exec execute the matching yREGEX_exec "login [pass4@WORD] test" i_equal 1
COND check for a longer substring - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.044)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec compile the regex yREGEX_comp "login \\[¸.{6,12}¹\\] test²²²º1\\d»´º1\\u»´º1\\l»´º1[#\\&\\@\\!]»´º1+WORD»" i_equal 0
exec execute the matching yREGEX_exec "login [pass4@WORD] test" i_equal 1
COND complete testing - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.045)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec stop testing yregex__unit_end i_equal 0
# end-of-file. done, finito, completare, whimper [Ï´···