[LON-CAPA-cvs] cvs: loncom /interface/spreadsheet Spreadsheet.pm

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 08 Dec 2005 02:22:15 -0000


albertel		Wed Dec  7 21:22:15 2005 EDT

  Modified files:              
    /loncom/interface/spreadsheet	Spreadsheet.pm 
  Log:
  - when spcifying rows with the * don't include the 0th row
  
  
Index: loncom/interface/spreadsheet/Spreadsheet.pm
diff -u loncom/interface/spreadsheet/Spreadsheet.pm:1.59 loncom/interface/spreadsheet/Spreadsheet.pm:1.60
--- loncom/interface/spreadsheet/Spreadsheet.pm:1.59	Tue Dec  6 01:04:49 2005
+++ loncom/interface/spreadsheet/Spreadsheet.pm	Wed Dec  7 21:22:15 2005
@@ -1,5 +1,5 @@
 #
-# $Id: Spreadsheet.pm,v 1.59 2005/12/06 06:04:49 albertel Exp $
+# $Id: Spreadsheet.pm,v 1.60 2005/12/08 02:22:15 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -697,7 +697,7 @@
 	}
 	return \@values;
     } else {
-	$num = '(\d+)';
+	$num = '([1-9]\d*)';
     }
     if (($la eq '*') || ($ua eq '*')) {
         $alpha='[A-z]';