You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
r'(?:[\'"@]+)'# 1 or more single quote, double quote, or at symbol.
114
114
r'('# Group 1: Path. This is the main group we are looking for. Matches based on extension before the pipe, or variable after the pipe.
115
-
r'[^\t\n\r\f\v\'"]*?'# 0 or more (greedy) non-whitespace characters (regular spaces are ok) and no quotes followed by a period, then 1 of the acceptable file extensions. NOTE: Backslash exclusion removed for Windows support; make sure this doesn't negatively affect other systems.
115
+
r'[^\t\n\r\f\v\'"]*?'# 0 or more (greedy) non-whitespace characters (regular spaces are ok) and no quotes followed by a period, then 1 of the acceptable file extensions.
116
116
r'\.(?:'+'|'.join(exts)+r')'# followed by a period, then 1 of the acceptable file extensions
117
117
r'|\${[\w/${}:.-]+}'# One or more of these characters -- A-Za-z0-9_-/${}:. -- inside the variable curly brackets -- ${}
"((?:\s*(?:\w+\s+)?\w+\[\]\s+[\w:]+\s*=|\s*\d+:)\s*\[)"# Array attribute definition and equal sign, or a frame number and colon, plus the opening bracket.
49
-
"\s*(.*)\s*"# Everything inside the square brackets.
50
-
"(\].*)$"# Closing bracket to the end of the line.
49
+
r"((?:\s*(?:\w+\s+)?\w+\[\]\s+[\w:]+\s*=|\s*\d+:)\s*\[)"# Array attribute definition and equal sign, or a frame number and colon, plus the opening bracket.
50
+
r"\s*(.*)\s*"# Everything inside the square brackets.
51
+
r"(\].*)$"# Closing bracket to the end of the line.
0 commit comments