Log of /trunk/pg/macros/contextTF.pl
Parent Directory
Revision
3334 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sun Jul 3 20:10:37 2005 UTC (7 years, 10 months ago) by
dpvc
File length: 757 byte(s)
Diff to
previous 2912
,
to
selected 2824
Updates to allow string matches to be case-insensitive. This is now
the default, and can be overridden in the Context by setting the
string's "caseSensitive" attribute. e.g.:
Context()->strings->add("FooBar"=>{caseSensitive=>1});
would rewuire "FooBar" to be entered exactly as typed.
Revision
2824 -
(
view)
(
download)
(
as text)
(
annotate)
-
[selected]
Added
Thu Sep 23 21:31:41 2004 UTC (8 years, 8 months ago) by
dpvc
File length: 2068 byte(s)
Two new Parser contexts, one for matching problems involving answers
like A, B, C and D, the other for T/F answers. These contexts have an
advantage over the standard str_cmp() checker in that it will give
additional error messages when the student enters an unrecognized answer.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.