Regex loop yields single element array for multiple finds:

Okay, my string has a parenthesized section, and that is doing it:

markup.scan(/@@@.?(@@@).?@@@/) do |ats|
puts ats.length
puts ats.class

is a closer to what I’ve got. My apologies. So, it looks like whenever
you specifiy
a section with parameters you then get an array. I guess that makes
sense. Thanks.