mirror of
https://github.com/dkogan/feedgnuplot.git
synced 2025-05-05 22:11:12 +08:00
data-ids can now include characters such as -. Any non-whitespace works
This commit is contained in:
parent
63205188b5
commit
7559ed5f66
@ -388,7 +388,7 @@ sub mainThread
|
||||
my $numRE = '-?\d*\.?\d+(?:[Ee][-+]?\d+)?';
|
||||
|
||||
# a point may be preceded by an id
|
||||
my $pointRE = $options{dataid} ? '(\w+)\s+' : '()';
|
||||
my $pointRE = $options{dataid} ? '(\S+)\s+' : '()';
|
||||
$pointRE .= '(' . join('\s+', ($numRE) x $valuesPerPoint) . ')';
|
||||
$pointRE = qr/$pointRE/;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user