From 6c32b9720ca1c0d7a037cfb920ea8c1901d67a12 Mon Sep 17 00:00:00 2001 From: Maximilien Rigaut Date: Thu, 10 Feb 2022 02:53:32 +0100 Subject: [PATCH] Forget the / on the regex --- src/bootstraparse/modules/preparser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bootstraparse/modules/preparser.py b/src/bootstraparse/modules/preparser.py index eb50bc8..2b103bb 100644 --- a/src/bootstraparse/modules/preparser.py +++ b/src/bootstraparse/modules/preparser.py @@ -9,7 +9,7 @@ from bootstraparse.modules import environment import rich # list of regexps -_rgx_import_file = regex.compile(r'::( ?\< ?(?P[\w\-\.\_]+) ?\>[ \s]*)+') +_rgx_import_file = regex.compile(r'::( ?\< ?(?P[\w\-._/]+) ?\>[ \s]*)+') _rgx_import_file_g = "file_name"