--- rat/lonpage.pm 2023/09/11 12:11:26 1.111.2.13.2.6 +++ rat/lonpage.pm 2023/09/12 14:55:16 1.111.2.13.2.7 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Page Handler # -# $Id: lonpage.pm,v 1.111.2.13.2.6 2023/09/11 12:11:26 raeburn Exp $ +# $Id: lonpage.pm,v 1.111.2.13.2.7 2023/09/12 14:55:16 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -517,7 +517,7 @@ ENDEXT $hastimer = 1; } unless ($hasnumresp) { - if ($output=~/\]+class\s*=\s*[\'\"]*([^\'\"\>]+|)LC_numresponse_text/) { + if ($output=~/\]+class\s*=\s*['"]*[^'">]*LC_numresponse_text\W/) { $hasnumresp = 1; } }