adopt the frontend regex (matches better), closes #170

This commit is contained in:
Jakob Ketterl 2020-09-13 22:30:57 +02:00
parent 994bf7439b
commit c947204356

View File

@ -151,7 +151,7 @@ class Decoder(ABC):
class Jt9Decoder(Decoder):
locator_pattern = re.compile("[A-Z0-9]+\\s([A-Z0-9]+)\\s([A-R]{2}[0-9]{2})$")
locator_pattern = re.compile(".*\\s([A-Z0-9]+)\\s([A-R]{2}[0-9]{2})$")
def parse(self, msg, dial_freq):
# ft8 sample