Description: Make str2angle accept de degree (°) symbol
 The regular expression in variable fmt is fixed such that the degree
 symbol (°) in UTF-8 is accepted.  Without this patch, the regexp
 function will not work because only one character is accepted in the
 place of the degree symbol.
Author: Rafael Laboissière <rafael@debian.org>
Forwarded: https://savannah.gnu.org/bugs/index.php?59314
Last-Update: 2020-10-21

--- octave-mapping-1.4.1.orig/inst/str2angle.m
+++ octave-mapping-1.4.1/inst/str2angle.m
@@ -82,7 +82,7 @@
 
 function deg = str2angle (txt, verbose = 0)
 
-  fmt = [ '([-+]?[0123456789]{1,3})([^+-]\s?)([+-]?[0123456789]{2})' ...
+  fmt = [ '([-+]?[0123456789]{1,3})([^+-]\s?|°\s?)([+-]?[0123456789]{2})' ...
           '[''mM]\s?([+-]?[0123456789\.].*?)((?:["sS]|'''')[eEnNsSwW]?)' ];
 
   if (iscellstr (txt))
