Forget the / on the regex

This commit is contained in:
Maximilien Rigaut 2022-02-10 02:53:32 +01:00
parent 1c9f94dcaa
commit 6c32b9720c
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ from bootstraparse.modules import environment
import rich
# list of regexps
_rgx_import_file = regex.compile(r'::( ?\< ?(?P<file_name>[\w\-\.\_]+) ?\>[ \s]*)+')
_rgx_import_file = regex.compile(r'::( ?\< ?(?P<file_name>[\w\-._/]+) ?\>[ \s]*)+')
_rgx_import_file_g = "file_name"