in reply to Re: unexpected loop behaviour when pattern matchingin thread unexpected loop behaviour when pattern matching