my @lines = "test.csv".IO.lines;

#1559256242,3,0,579.4,1,13,3330,3320,8,98,11,3,27,25,0,0,11229.4,8568,[3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3320,3330,3320,3330,3330,3320,3320,3330,3330,3320,3320,3320,3320,3330,3330,3330,3320,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3320,3330,3330,3330,3330,3330,3330,3330,3320,3320,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3320,3320,3330,3320,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3320,3330,3330,3330,3320,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3320,3320,3330,3330],[66,66,65,65,66,65,66,65,66,66,67,66,66,66,66,65,66,66,65]
#1559256252,3,0,579.3,1,13,3330,3320,8,98,11,3,27,25,0,0,11229.4,8518,[3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3320,3320,3320,3320,3330,3320,3320,3320,3330,3320,3320,3320,3320,3320,3330,3330,3320,3320,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3320,3330,3330,3330,3330,3330,3330,3330,3320,3320,3330,3320,3330,3330,3330,3320,3320,3330,3330,3330,3330,3330,3330,3330,3330,3320,3320,3320,3320,3330,3320,3320,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3320,3330,3330,3330,3320,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3320,3320,3330,3320,3330,3330,3320,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3320,3320,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3320,3330,3330,3330,3330,3320,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3330,3320,3320,3330,3330,3330,3330,3330,3330,3330,3330,3320,3320,3330,3330],[66,66,65,65,66,65,66,65,66,66,67,66,66,66,66,65,66,66,65]
    
my regex regex_head { [\d+[\.\d+]?]+ % ',' };
my regex regex_tail { '[' ~ ']' [\d+]+ % ',' };
my regex regex_test { \d+ };

for @lines[1..2] -> $line {
    my @a = $line.match(/<regex_head><regex_tail>/);
    say @a.raku;
}