Explorar el Código

정규식 변경

ect (or 2du) hace 8 años
padre
commit
3abf7f409b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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]