in reply to Re: next in a post-fixed for
in thread next in a post-fixed for
The OP's code associates each string only to the first pattern that it matches. Your simplification associates each string to each pattern that it matches. Also, if there are many patterns, the OP's code lends itself to optimization via study().