From 242f4033c661d70c0d2722050370307f4d9b678a Mon Sep 17 00:00:00 2001 From: jaseg Date: Sat, 22 Jan 2022 19:26:48 +0100 Subject: Make excellon tests pass --- gerbonara/gerber/utils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gerbonara/gerber/utils.py') diff --git a/gerbonara/gerber/utils.py b/gerbonara/gerber/utils.py index fded04a..0627a6b 100644 --- a/gerbonara/gerber/utils.py +++ b/gerbonara/gerber/utils.py @@ -44,7 +44,9 @@ class RegexMatcher: if (match := re.fullmatch(regex, line)): #print(' handler', handler.__name__) handler(inst, match) - break + return True + else: + return False class LengthUnit: def __init__(self, name, shorthand, this_in_mm): -- cgit