摘要: System.out.println(str.matches("(\\-|\\+)?[1-9]{1}\\d*")); 阅读全文