[not a bug] match object and 0 0


    Apr 03 2014 | 7:37 pm
    For a patch I use the match object to look for the list 0 0. when match gets 0 0 the first time it responds as expected by outputting: 0 0 subsequent 0 0 messages result in: 0 0 0 0 See the patch for an example and a workaround using the clear message:

    • Apr 04 2014 | 12:33 am
      My understanding is that match operates on segments of input streams, not discreet lists.
      i.e.
      set match to look for "0 0" 1st input: 0 0 begins stream: 0 0 matches: [0 0] output: 0 0
      2nd input: 0 0 stream continues: 0 0 0 0 matches: 0 [0 0] 0; 0 0 [0 0] output: 0 0, 0 0
      ex. 2
      set match: "0 0 0" 1st input: 0 begins stream: 0 matches: none output: none
      2nd input: 0 continue stream: 0 0 matches: none output: none
      3rd input: 0 continue stream: 0 0 0 matches: [0 0 0] output: 0 0 0
      4th input: 0 continue stream: 0 0 0 0 matches: 0 [0 0 0] output: 0 0 0
      etc.
    • Apr 04 2014 | 3:36 am
      Well that makes sense. Thanks Meta!