回答編集履歴

2

誤記修正

2020/03/18 12:19

投稿

Y.H.
Y.H.

スコア7914

test CHANGED
@@ -2,7 +2,11 @@
2
2
 
3
3
  [https://teratail.com/questions/247776#reply-358945](https://teratail.com/questions/247776#reply-358945)
4
4
 
5
+
6
+
5
7
  ----
8
+
9
+
6
10
 
7
11
  ```php
8
12
 

1

追記

2020/03/18 12:19

投稿

Y.H.
Y.H.

スコア7914

test CHANGED
@@ -1,3 +1,9 @@
1
+ こちらで解決したようです。
2
+
3
+ [https://teratail.com/questions/247776#reply-358945](https://teratail.com/questions/247776#reply-358945)
4
+
5
+ ----
6
+
1
7
  ```php
2
8
 
3
9
  //無限ループが起こらないようにするために、/と/en/にマッチしないときのみに以下の処理を行う