in reply to Turning regex capture group variables into arrays, then counting the number of objects in the array

I recommend to use /x modifier in such long regex and make that regex to span several lines for better readability. Docs about /x modifier -> /x and /xx.
  • Comment on Re: Turning regex capture group variables into arrays, then counting the number of objects in the array
  • Download Code