Revision d08aa271
Added by Andreas Müller almost 4 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/BigDecimalWithLabelElement.java | ||
---|---|---|
40 | 40 |
} |
41 | 41 |
|
42 | 42 |
try{ |
43 |
String pattern = "-?\\d{0,9}.?\\d{0,9})";
|
|
43 |
String pattern = "-?\\d{0,9}.?\\d{0,9}"; |
|
44 | 44 |
if (value.matches(pattern)){ |
45 | 45 |
BigDecimal number = new BigDecimal(value); |
46 | 46 |
if((start != null && number.compareTo(start) < 0 || (end != null && number.compareTo(end) > 0))){ |
Also available in: Unified diff
ref #9038 try to fix regEx compile error