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
1 changed files with 1 additions and 1 deletions

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