Browse Source

정규식 변경

ect (or 2du) 8 năm trước cách đây
mục cha
commit
3abf7f409b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      set_mark/start.py

+ 1 - 1
set_mark/start.py

@@ -799,7 +799,7 @@ def start(conn, data, title):
             break
          
     # 넘겨주기 마지막 처리
-    redirect = re.search('\n#redirect <a (?:id="not_thing")? href="(?P<in>(?:(?!").)+)">(?:(?:(?!<).)+)<\/a>\n', data)
+    redirect = re.search('\n#redirect <a (?:id="not_thing")? href="((?:(?!").)+)">(?:(?:(?!<).)+)<\/a>\n', data)
     if redirect:
         redirect = redirect.groups()[0]