質問編集履歴
1
カッコが多かったので修正しました。
title
CHANGED
File without changes
|
body
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
下記の方法だとマッチするのですが
|
11
11
|
|
12
12
|
> $subject = file_get_contents("aaa.txt");
|
13
|
-
> preg_match ('http://hoge/sample777.html', $subject, $matches)
|
13
|
+
> preg_match ('http://hoge/sample777.html', $subject, $matches);
|
14
14
|
|
15
15
|
|
16
16
|
|
@@ -22,4 +22,4 @@
|
|
22
22
|
|
23
23
|
> $subject = file_get_contents("aaa.txt");
|
24
24
|
> $pattern = "http://hoge/sample777.html";
|
25
|
-
> preg_match ($pattern, $subject, $matches)
|
25
|
+
> preg_match ($pattern, $subject, $matches);
|