Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'io_curve_svg/svg_util.py')
-rw-r--r--io_curve_svg/svg_util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_curve_svg/svg_util.py b/io_curve_svg/svg_util.py
index a3e1613c..056a19a6 100644
--- a/io_curve_svg/svg_util.py
+++ b/io_curve_svg/svg_util.py
@@ -31,7 +31,7 @@ def check_points_equal(point_a, point_b):
return (abs(point_a[0] - point_b[0]) < 1e-6 and
abs(point_a[1] - point_b[1]) < 1e-6)
-match_number = r"-?\d+([eE][-+]?\d+)?"
+match_number = r"-?\d+(\.\d+)?([eE][-+]?\d+)?"
match_first_comma = r"^\s*(?=,)"
match_comma_pair = r",\s*(?=,)"
match_last_comma = r",\s*$"