From ce4927e24dfad46e9592e4f88ce2322aaf1b6807 Mon Sep 17 00:00:00 2001 From: Dima Kogan Date: Tue, 2 Mar 2010 17:13:12 -0800 Subject: [PATCH] a number in scientific notation can have an explicitly positive exponent --- feedGnuplot.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;