Skip to content

Commit 80f23e7

Browse files
committed
Fixing unclosed group
Signed-off-by: Shivam Chauhan <[email protected]>
1 parent ed644e4 commit 80f23e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/textcode/strings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def is_relative_path(s):
202202
Return True if s looks like a relative posix path.
203203
Example: usr/lib/librt.so.1 or ../usr/lib
204204
"""
205-
relative = re.compile('^(?:([^/]|\\.\\.)[\\w_\\-]+/.*$', re.IGNORECASE).match
205+
relative = re.compile('^(?:([^/]|\\.\\.)[\\w_\\-]+/.*$)', re.IGNORECASE).match
206206
return relative(s)
207207

208208

0 commit comments

Comments
 (0)