title: Check a string is double without failing with a NumberFormatException
body: <p>I would like to avoid a try-catch to check if a string is in fact a valid double value. </p>
  
  <p>In Double class java-doc it show a regex to do just that. I find it a bit frustrating that they [Java Language/Std Lib. Spec folk] didn't simply decided to add a convenient method to do such a check or constant with that regex or pattern. </p>
  
  <p>Does anyone know of a popular package (e.g. like jakarta commons-math that implements such a test. I prefer to avoid copy-paste that javadoc regex to my code since it seems to be something so standard that would expect to have some implementations out there.</p>