2015-10-13 54 views

回答

2
<input pattern="\-?\d{1,5},\d{2}" required> 
+0

你不需要反斜杠,'-'不是字符类外的特殊字符。 –