title: java .matches() does not match
body: <p>I have a following piece of code:</p>
  
  <pre><code>String myString;
  boolean myResult;
  
  myString = "First\nSecond\nThird\nFourth";
  myResult = myString.matches("First.*");
  myResult = myString.matches(".*First.*");
  myResult = myString.matches(".*Second.*");
  myResult = myString.matches("First\nSecond\nThird\nFourth");
  </code></pre>
  
  <p>the last one returns true, all the rest are false... </p>
  
  <p>I though all of the above expressions would return true. Also I need to find strings that start with "First", I thought the first .matches() would cover it, but it does not. How should it look like?</p>