
Regexp::assemble takes an arbitrary number of regular expressions and assembles them into a single regular expression (or re) that matches all that the individual res match.
it is also possible to track the original patterns, so that you can determine which, among the source patterns that form the assembled pattern, was the one that caused the match to occur.