CS2121 lab exercise 1 part a6 - hint

We just need to recogise any word containing a ".", so why can't we use:
.
- try it and see!

Try thinking about the problem again, and look back at part a4.

If you are still stuck, here are some more hints.