This loop searches for every expression no matter what. It should stop searching after a match is found.