diff --git a/feedGnuplot.pl b/feedGnuplot.pl index fed2ef4..41b5356 100755 --- a/feedGnuplot.pl +++ b/feedGnuplot.pl @@ -292,7 +292,7 @@ sub mainThread { } # regexp for a possibly floating point, possibly scientific notation number, fully captured - my $numRE = qr/([-]?[0-9\.]+(?:e[-]?[0-9]+)?)/o; + my $numRE = qr/([-]?[0-9\.]+(?:e[-+]?[0-9]+)?)/o; my $xlast; my $haveNewData;