in reply to Integrating match counts into regex matching

Thanks to all who contributed and shared their knowledgeable views on how this problem could be solved! As always, I am fascinated by the wide range of answers obtained which - in my view - mainly originates from the different degrees of literality with which the initial question can be read. Particular thanks to tilly, BrowserUk and ikegami for their in-depth discussion of the wider scope of the problem.
  • Comment on Re: Integrating match counts into regex matching