Exercises 5.20 Fill-In, Literal String Answers
For a string answer, PreTeXt compares the readerβs response against the answer as a literal string. So characters that have special meaning in a regular expression, such as
., (, or +, are matched exactly rather than acting as wildcards or operators. These examples exercise that behavior across a range of such characters, whether the correct answer is compared explicitly (with use-answer or literal ) or left to be supplied automatically from the fillin.
2. Fill-In, A Dotted Address.
3. Fill-In, A Formula with Several Symbols.
4. Fill-In, A File Path.
5. Fill-In, A Price.
6. Fill-In, Literal Match Ignoring Case.
7. Fill-In, Explicit Literal Test.
8. Fill-In, Answer Taken from the Fillin.
You have attempted of activities on this page.

