@@ -20,7 +20,7 @@ public class RegexUtil {
* @return
*/
public static boolean isNumbers(String str) {
- String regex = "[0-9]+|([0-9]+\\.)+[0-9]*|[0-9]*(\\.[0-9]+)+";
+ String regex = "[0-9]+|([0-9]+\\.)[0-9]*|[0-9]*(\\.[0-9]+)";
return str.matches(regex);
}