You would benefit from a trip to the
Java™ Tutorials, where you find that . is a meta-character (not in this instance an operator) matching almost anything. You will also find out how you can escape that character with the backslash character, so it does what you want.