[Kst] kdeextragear-2/kst/kst/datasources/ascii

George Staikos staikos at kde.org
Fri Dec 5 09:33:36 CET 2003


CVS commit by staikos: 

Properly detect ascii files that use E instead of e for scientific notation.

CCMAIL: 69645 at bugs.kde.org


  M +1 -1      ascii.cpp   1.8


--- kdeextragear-2/kst/kst/datasources/ascii/ascii.cpp  #1.7:1.8
@@ -259,5 +259,5 @@ bool understands_ascii(const QString& fi
     if (rc >= 2) {
       // FIXME: comments
-      if (QRegExp("^[\\s]*([0-9\\-\\.e]+[\\s]+)+[\\n]*$").exactMatch(s)) {
+      if (QRegExp("^[\\s]*([0-9\\-\\.eE]+[\\s]+)+[\\n]*$").exactMatch(s)) {
         return true;
       }





More information about the Kst mailing list