in reply to multiple-pass search?

In occurs to me that matching with the greedy modifier "/g"

From perlop:

          g Match globally, i.e., find all occurrences.