質問編集履歴

1

コードを修正しました

2018/11/01 15:35

投稿

pegy
pegy

スコア243

test CHANGED
File without changes
test CHANGED
@@ -14,7 +14,7 @@
14
14
 
15
15
  ```php
16
16
 
17
- $post="cmnc-last"> <a href="/article/DGXLMSJC10201_R31C18A0000000/?h=2" title="6-7件目を表示">2</a>"
17
+ $post='"cmnc-last"> <a href="/article/DGXLMSJC10201_R31C18A0000000/?h=2" title="6-7件目を表示">2</a>"'
18
18
 
19
19
  $post_number=preg_replace('/cmnc-last"\>\<a(?:>| [^>]*?>)(.*?)\</a/s','',$post);
20
20