--- loncom/interface/lonpopulate.pm 2005/11/04 21:32:13 1.30 +++ loncom/interface/lonpopulate.pm 2005/11/04 21:34:05 1.31 @@ -1,5 +1,5 @@ # automated enrollment configuration handler -# $Id: lonpopulate.pm,v 1.30 2005/11/04 21:32:13 raeburn Exp $ +# $Id: lonpopulate.pm,v 1.31 2005/11/04 21:34:05 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -665,7 +665,7 @@ ENDTWO for (my $i=0; $i<@xlists; $i++) { my $xl = ' '; my $gp = ' '; - if ($xlists[$i] =~ /(\w+):?(.*)$/) { + if ($xlists[$i] =~ /^([^:]+):?(.*)$/) { $xl = $1; $gp = $2; }