title: Why java fails regex expression
body: <p>I wrote a condition with regex <code>str.matches("\\D+")</code> read with Scanner but on entering char+digit this test fails for example 3x or e3 but it should not happen.
  It should pass any non digit occurrence anywhere in the string even if its a symbol.</p>