From e2d124b7653b4c9d617290b19ba57f5b44589d16 Mon Sep 17 00:00:00 2001 From: Paul Dicker Date: Sun, 14 Apr 2024 16:57:27 +0200 Subject: [PATCH] Make regex for UNTIL column more precise to parse comments correctly --- src/line.rs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/line.rs b/src/line.rs index 6d156ce..35d701f 100644 --- a/src/line.rs +++ b/src/line.rs @@ -182,14 +182,14 @@ impl Default for LineParser { zone_line: Regex::new( r##"(?x) ^ Zone \s+ - ( ?P [ A-Z a-z 0-9 / _ + - ]+ ) \s+ + ( ?P [A-Za-z0-9/_+-]+ ) \s+ ( ?P \S+ ) \s+ ( ?P \S+ ) \s+ ( ?P \S+ ) \s* - ( ?P \S+ )? \s* - ( ?P \S+ )? \s* - ( ?P \S+ )? \s* - ( ?P