From 14c9ea4577da961a238d15ead9d411e49cdfea60 Mon Sep 17 00:00:00 2001 From: yama-natuki Date: Fri, 26 Jun 2015 19:36:17 +0900 Subject: [PATCH] change RESPONSE_REGEX to BE --- 2chproxy.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2chproxy.pl b/2chproxy.pl index 8591069..975bfba 100755 --- a/2chproxy.pl +++ b/2chproxy.pl @@ -92,7 +92,7 @@ #以下WEBスクレイピングの際の正規表現 TITLE_REGEX => '^(.*)$', #タイトル抽出 # 1.レス番 2.目欄 3.名前/ハッシュ 4.日付|ID 5.BE1 6.BE2 7.本文 - RESPONSE_REGEX => '^
(\d+)\s[^<]*<(?:a href="mailto:([^"]+)"|font[^>]*)>(.*?).([^<]+?)\s?(?:(?:\s)?]*be\((\d+)\)[^>]*>\?([^<]+))?
(.+)' + RESPONSE_REGEX => '^
(\d+)\s[^<]*<(?:a href="mailto:([^"]+)"|font[^>]*)>(.*?).([^<]+?)\s?(?:(?:\s)?]*be\(([^\)]+)\)[^>]*>\?([^<]+))?
(.+)' #WEBスクレイピングの細かい部分の正規表現は下の方 };