- or download this
$part_sql = "f1,f2, SUM(f3),CONCAT(f4,f5, f6), f7"
- or download this
my @fields = split(/(?<!\([^\)]+),/, $part_sql);
- or download this
Variable length lookbehind not implemented in regex; marked by <-- HER
+E in m/(?<!\([^\)]+), <-- HERE / ....