[prev in list] [next in list] [prev in thread] [next in thread]
List: lon-capa-cvs
Subject: [LON-CAPA-cvs] cvs: rat / lonpage.pm
From: raeburn via LON-CAPA-cvs <lon-capa-cvs () mail ! lon-capa ! org>
Date: 2023-09-11 13:26:26
Message-ID: cvsraeburn1694438786 () cvsserver
[Download RAW message or body]
raeburn Mon Sep 11 13:26:26 2023 EDT
Modified files:
/rat lonpage.pm
Log:
- regexp readability
Index: rat/lonpage.pm
diff -u rat/lonpage.pm:1.143 rat/lonpage.pm:1.144
--- rat/lonpage.pm:1.143 Sun Sep 10 18:12:55 2023
+++ rat/lonpage.pm Mon Sep 11 13:26:26 2023
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Page Handler
#
-# $Id: lonpage.pm,v 1.143 2023/09/10 18:12:55 raeburn Exp $
+# $Id: lonpage.pm,v 1.144 2023/09/11 13:26:26 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -514,7 +514,7 @@
$hastimer = 1;
}
unless ($hasnumresp) {
- if \
($output=~/\<input[^\>]+class\s*=\s*[\'\"]*([^\'\"\>]+|)LC_numresponse_text/) { + \
if ($output=~/\<input[^\>]+class\s*=\s*['"]*[^'">]*LC_numresponse_text\W/) { \
$hasnumresp = 1; }
}
_______________________________________________
LON-CAPA-cvs mailing list
LON-CAPA-cvs@mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic