質問編集履歴
2
記入ミス
test
CHANGED
File without changes
|
test
CHANGED
@@ -24,7 +24,7 @@
|
|
24
24
|
|
25
25
|
$html = preg_replace("/\#bold((((?>[^()]+)|(?R))*))/x",'<font style="font-weight: bold;">${1}</font>',$html);
|
26
26
|
|
27
|
-
$html = preg_replace("/\#strike(((?>[^()]+|(?R))*))/",'<font style="text-decoration: line-through;">${1}</font>',$html);
|
27
|
+
$html = preg_replace("/\#strike((((?>[^()]+)|(?R))*))/x",'<font style="text-decoration: line-through;">${1}</font>',$html);
|
28
28
|
|
29
29
|
echo $html;
|
30
30
|
|
1
記入ミス
test
CHANGED
File without changes
|
test
CHANGED
@@ -24,7 +24,7 @@
|
|
24
24
|
|
25
25
|
$html = preg_replace("/\#bold((((?>[^()]+)|(?R))*))/x",'<font style="font-weight: bold;">${1}</font>',$html);
|
26
26
|
|
27
|
-
$html = preg_replace("/\#strike(((?
|
27
|
+
$html = preg_replace("/\#strike(((?>[^()]+|(?R))*))/",'<font style="text-decoration: line-through;">${1}</font>',$html);
|
28
28
|
|
29
29
|
echo $html;
|
30
30
|
|