#N canvas 533 76 559 524 10;
#X obj 4 360 cnv 3 550 3 empty empty inlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 5 424 cnv 3 550 3 empty empty outlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 5 459 cnv 3 550 3 empty empty arguments 8 12 0 13 #dcdcdc #000000 0;
#X obj 103 369 cnv 17 3 50 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 103 436 cnv 17 3 17 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 2 516 cnv 1 550 1 empty empty empty 0 0 0 4 #fcfcfc #fcfcfc 0;
#X obj 2 495 cnv 15 552 21 empty empty empty 20 12 0 14 #e0e0e0 #202020 0;
#X obj 265 329 bng 15 250 50 0 empty empty empty 17 7 0 10 #dcdcdc #000000 #000000;
#X obj 286 330 nbx 2 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X obj 208 329 bng 15 250 50 0 empty empty empty 17 7 0 10 #dcdcdc #000000 #000000;
#X obj 229 330 nbx 2 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X obj 208 298 unpack f f;
#X obj 208 270 cyclone/match 9 7;
#X msg 220 233 0 1 9 7;
#X msg 208 208 1 5 7 2 9;
#X text 132 468 1) anything;
#X text 168 387 clear;
#X text 150 436 anything;
#X text 207 436 - a message whose elements were matched;
#X text 114 403 set <anything>;
#X text 150 370 anything;
#X text 207 370 - one or more elements to look for a match;
#X text 207 468 - elements to match ('nn' = wildcard for any number);
#X text 207 387 - forget all received elements;
#X msg 89 221 1 \, 2 \, 9 \, 7 \, 3;
#X text 273 208 no match;
#X text 273 234 match;
#X text 80 88 [match] sends data when the input matches the arguments.;
#X text 82 106 When the input is a list \, if a portion of the list matches the arguments \, that part of the list is output.;
#X text 82 135 When the input is a sequence of single elements \, the data is output when a sequence matches the arguments.;
#X text 207 403 - clears and sets new elements to match to;
#X text 81 189 find match in float sequence, f 14;
#X text 206 186 find match in list;
#N canvas 264 135 783 538 more 0;
#X msg 102 274 34;
#X msg 156 368 set 34 erg 88;
#X msg 126 306 erg 88;
#X obj 126 437 print match;
#X obj 126 408 cyclone/match erg 88;
#X floatatom 155 176 5 0 0 0 - - - 0;
#X text 141 337 set messages updates argument;
#X floatatom 192 101 5 0 0 0 - - - 0;
#X obj 155 138 cyclone/match 12;
#X msg 155 99 12;
#X text 372 136 The symbol 'nn' can be used as a wildcard for any number input.;
#X obj 519 372 unpack float float;
#X obj 519 230 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X obj 624 411 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X obj 519 411 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X text 27 40 [match] can be used with just one element. Below \, only the number 12 goes through...;
#X msg 519 258 100 \$1 104;
#X msg 558 304 set nn 104;
#X msg 475 199 98 99 100 101 102 103 104;
#X obj 519 338 cyclone/match 100 nn;
#X text 43 227 [match] works with any data type:;
#X connect 0 0 4 0;
#X connect 1 0 4 0;
#X connect 2 0 4 0;
#X connect 4 0 3 0;
#X connect 7 0 8 0;
#X connect 8 0 5 0;
#X connect 9 0 8 0;
#X connect 11 0 14 0;
#X connect 11 1 13 0;
#X connect 12 0 16 0;
#X connect 16 0 19 0;
#X connect 17 0 19 0;
#X connect 18 0 19 0;
#X connect 19 0 11 0;
#X restore 461 313 pd more;
#X obj 3 3 ./header match;
#X text 22 57 Output matching input;
#X connect 11 0 10 0;
#X connect 11 0 9 0;
#X connect 11 1 8 0;
#X connect 11 1 7 0;
#X connect 12 0 11 0;
#X connect 13 0 12 0;
#X connect 14 0 12 0;
#X connect 24 0 12 0;
