Hi Hcardinal and welcome to LQ.
Please refer to our
Welcome to LQ link for information about how to ask a more effective question.
Be aware that if this is an assignment, it is not a problem posting questions about it, however assignment or not, our guidance is that you should indicate what you have personally tried, or offered more details similar to what you've done with your first follow-up. Meanwhile an
LQ Rule is to not post assignments verbatim, which you appear to have done.
You seem to be reading a lesson, be that for personal learning or as part of course. My experience is that prior to an exercise such as this, whatever the reading reference is, will inform you what special characters include. Therefore you should know if capital letters are considered special versus not. A: They are not.
Since this is regular expressions and special character delimiters. A simple suggestion is to go to a Linux system, find a place which has at least one .txt file that does not have to have any of these strings and then try them out using grep:
Code:
$ grep A super important file *.txt
What happens?
It complains about "super".
It complains about "important".
It complains about "file"
It does not complain about "A"
So try:
Code:
$ grep A\ super\ important\ file *.txt
And once again, it is irrelevant that any TXT files contain that string, however what you'll find is now the shell will not complain to you about your search string, because you have delimited it. Meanwhile if you do delimit the capital A it will not complain also. This only means that it does not care if you overdo it.