The way I currently have my code is as follows:
If the number of matches in a color pattern match is greater than 0, it sends the information to the consumer loop.
If it is not greater than 0, it doesn't send anything.
What I was wondering is, if it finds a match the first time and it sends the information to the consumer loop, will the number of matches in the color pattern match return to 0 or will it be greater than 0 after the first match? If the number of matches in the color pattern match will be greater than 0 after the first match, and it will still be greater than 0, even though it doesn't find a match in the following scenarios, how can I make the number of matches in the color pattern match return to 0?