Skip to content
Snippets Groups Projects
Commit cf4154c7 authored by Daniel Hornung's avatar Daniel Hornung
Browse files

WIP: Find regression.

parent 3063dbac
No related branches found
No related tags found
No related merge requests found
Pipeline #24451 failed
This commit is part of merge request !62. Comments created here will be created in the context of that merge request.
......@@ -134,7 +134,8 @@ public class POV implements EntityFilterInterface {
} else {
try {
// Doubles are allowed without dots, for example when the integer overflows.
final Pattern dp = Pattern.compile("^(-?[0-9]+(?:\\.)?(?:[0-9]+))\\s*([^-]*)$");
// final Pattern dp = Pattern.compile("^(-?[0-9]+(?:\\.)?(?:[0-9]+))\\s*([^-]*)$");
final Pattern dp = Pattern.compile("^(-?[0-9]+(?:\\.[0-9]+))\\s*([^-]*)$");
final Matcher m = dp.matcher(value);
if (!m.matches()) {
throw new NumberFormatException();
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment