title: findInLine error only searches the first line
body: <p>Here's the code:</p>
  
  <pre><code>BufferedReader in= new BufferedReader(new FileReader("C:\\Users\\ASUS\\Desktop\\123.txt"));
  
  Scanner scanner= new Scanner(in);
  while((scanner.findInLine("abc"))!=null){
     if(scanner.hasNext()){
         System.out.println(scanner.next());
     }
  }
  </code></pre>
  
  <p>findInLine only searches the first line not the others. So it prints nothing.
    How can i fix this problem?</p>