From: ts Date: 2001-06-05T23:31:05+09:00 Subject: [ruby-talk:16234] Re: String#scan strange behavior >>>>> "W" == Wayne Blair 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