>>>>> "W" == Wayne Blair <wayne.blair / relian.com> writes: W> The array of arrays it returns does not contain all subpatterns, it only W> irb>regex = /"(\\"|[^"])*"/ ^^^^^^^^^^ You have only *one* subpattern in the regexp, this is this subpattern which is returned. Guy Decoux