delete $info->{extra}{list};
- while ($column_type =~ /'([^']+)',?/g) {
- push @{ $info->{extra}{list} }, $1;
+ while ($column_type =~ /'((?:[^']* (?:''|\\')* [^']*)* [^\\'])',?/xg) {
+ my $el = $1;
+ $el =~ s/''/'/g;
+ push @{ $info->{extra}{list} }, $el;
}
}