--- loncom/html/adm/help/tex/Institutional_Integration_Course_Codes.tex 2008/07/29 17:51:08 1.2 +++ loncom/html/adm/help/tex/Institutional_Integration_Course_Codes.tex 2008/07/29 20:52:20 1.3 @@ -77,7 +77,7 @@ The routine used at MSU is as follows: \texttt{foreach my \$cid (keys \%\{\$instcodes\}) \{} \begin{quotation} -\texttt{if (\$\$instcodes\{\$cid\} =\~{} m/^({[}suf]s)(\textbackslash{}d\{2\})(\textbackslash{}w\{2,3\})(\textbackslash{}d\{3,4\}\textbackslash{}w?)\$/) +\texttt{if (\$\$instcodes\{\$cid\} =\~{} m/\^{}({[}suf]s)(\textbackslash{}d\{2\})(\textbackslash{}w\{2,3\})(\textbackslash{}d\{3,4\}\textbackslash{}w?)\$/) \{} \begin{quotation} \texttt{\$\$codes\{\$cid\}\{'Semester'\} = \$1;} @@ -90,7 +90,7 @@ The routine used at MSU is as follows: \texttt{my \$numyear = \$year;} -\texttt{\$numyear =\~{} s/^0//;} +\texttt{\$numyear =\~{} s/\^{}0//;} \texttt{\$\$codes\{\$cid\}\{'Year'\} = \$year;} @@ -140,7 +140,7 @@ course code into its component parts. \begin{quotation} \texttt{'Year' => '\textbackslash{}d\{2\}',} -\texttt{'Semester' => '^{[}sfu]s',} +\texttt{'Semester' => '\^{}{[}sfu]s',} \texttt{'Department' => '\textbackslash{}w\{2,3\}',}