in reply to Alternating Integers and Commas in Regex

You could use a regex like ([\d,]+) and then use split /,/ on the result in a second step.

Replies are listed 'Best First'.
Re^2: Alternating Integers and Commas in Regex
by hailholyghost (Novice) on Jan 20, 2015 at 15:04 UTC
    thank you so much hdb!!!!! the match $10 can be split thusly: @{$D{$2}{exon_starts}} = split(/,/,$10);