deeplook / svglib

Read SVG files and convert them to other formats.
GNU Lesser General Public License v3.0
322 stars 79 forks source link

Allow Capital in E-Notation floats. #277

Closed lueis closed 3 years ago

lueis commented 3 years ago

floats = [float(seq) for seq in re.findall(r'(-?\d*\.?\d*(?:e[+-]\d+)', value) if seq]

in utils:19 will only allow lower case e-notation