CS2121 lab exercise 1 part a7 - hint
You need to find all words containing no lower-case letters.
i.e. find all words that only contain characters other than the lower-case
You have to write a pattern that matches the whole line, from start to end.
- At the start of the pattern, match the start of the line, as for part a4
- At the end of the pattern, match the end of the line, as for part a4
- Between the start and end of the pattern, match all the actual characters
on the line:
- Each of the characters has to be anything except a lower-case letter
- You have to be able to match any number of characters,
depending on how many there are on the line.