File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ regular expression support in ``grep``. As an example,
3535notation ``[^ ] ``\ , which simply means match a character that is anything
3636other than a space.
3737
38- .. mchoice :: regex_grep_mcq_rev2
38+ .. mchoice :: regex_grep_mcq_rev3
3939 :multiple_answers:
4040 :practice: T
4141 :answer_a: $ grep '\\ $[0-9.]+' mbox-short.txt
@@ -45,7 +45,7 @@ other than a space.
4545 :correct: a,c
4646 :feedback_a: Correct! This is the correct way to use grep to find prices in a file.
4747 :feedback_b: Make sure to include the file name!
48- :feedback_c: Correct! This uses the / d regex character to find prices in mbox-short.txt.
48+ :feedback_c: Correct! This uses the \\ d regex character to find the 0-9 digits in mbox-short.txt.
4949 :feedback_d: Remeber that a '$' is a special character in regex. How do you tell it to look for an actual '$'?
5050
5151 Which option(s) properly uses the grep command-line to search for prices? Select all that apply.
You can’t perform that action at this time.
0 commit comments