I am trying to understand the difference between matches() and find().
According to the Javadoc, (from what I understand), matches() will search the ent
matches()
matches return true if the whole string matches the given pattern. find tries to find a substring that matches the pattern.
matches
find