[LON-CAPA-cvs] cvs: modules /msu localenroll.pm

raeburn raeburn at source.lon-capa.org
Fri Aug 3 12:47:18 EDT 2012


raeburn		Fri Aug  3 16:47:18 2012 EDT

  Modified files:              
    /modules/msu	localenroll.pm 
  Log:
  - Modify one regexp in rev. 1.59.
  
  
Index: modules/msu/localenroll.pm
diff -u modules/msu/localenroll.pm:1.59 modules/msu/localenroll.pm:1.60
--- modules/msu/localenroll.pm:1.59	Fri Aug  3 15:37:38 2012
+++ modules/msu/localenroll.pm	Fri Aug  3 16:47:17 2012
@@ -1,6 +1,6 @@
 # functions to glue school database system into Lon-CAPA for
 # automated enrollment
-# $Id: localenroll.pm,v 1.59 2012/08/03 15:37:38 raeburn Exp $
+# $Id: localenroll.pm,v 1.60 2012/08/03 16:47:17 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -129,7 +129,7 @@
 <!DOCTYPE text>
 <students>
 |;
-          if ($class =~ m/^([suf]s\d{2})(\w{2,})(\d{3,4}\w?)(\d{3})$/) {
+          if ($class =~ m/^([suf]s\d{2})(\w{2,4})(\d{3,4}\w?)(\d{3})$/) {
               my $sem = $1;
               my $subj = $2;
               my $crse = $3;




More information about the LON-CAPA-cvs mailing list