質問編集履歴
2
コピペミス
test
CHANGED
File without changes
|
test
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
|
15
15
|
text = text.replace(
|
16
16
|
|
17
|
-
((http|https|ftp|ftps)\://[a-zA-Z0-9\-.]+.[a-zA-Z]{2,3}(/\S*)?)/g,
|
17
|
+
/((http|https|ftp|ftps)\://[a-zA-Z0-9\-.]+.[a-zA-Z]{2,3}(/\S*)?)/g,
|
18
18
|
|
19
19
|
'<a href="$1">$1</a>'
|
20
20
|
|
1
コードミス
test
CHANGED
File without changes
|
test
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
|
15
15
|
text = text.replace(
|
16
16
|
|
17
|
-
|
17
|
+
((http|https|ftp|ftps)\://[a-zA-Z0-9\-.]+.[a-zA-Z]{2,3}(/\S*)?)/g,
|
18
18
|
|
19
19
|
'<a href="$1">$1</a>'
|
20
20
|
|