Description: use raw strings for regex
 Fixes a SyntaxWarning in later Python versions.
Author: Sascha Steinbiss <satta@debian.org>
Forwarded: https://github.com/ggonnella/gfapy/pull/34
Last-Update: 2024-10-27
--- a/gfapy/field/float.py
+++ b/gfapy/field/float.py
@@ -17,7 +17,7 @@
   if not re.match(r"^[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?$", string):
     raise gfapy.FormatError(
       "{} does not represent a valid float\n".format(repr(string)) +
-      "(it does not match [-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?)")
+      r"(it does not match [-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?)")
 
 def unsafe_encode(obj):
   return str(obj)
