in reply to multiple OR match fails

If only finds one match, because you only ask it to match once. Use a while loop if you want to find all the matches.