Originally posted as a Categorized Question.
In reply to How to efficiently return the set of REGEX expressions matching 1 line of input? by Anonymous Monk