The solution for thinkphp3.2.3 version template engine to filter out backslashes, thinkphp3.2.3 slashes
This problem made me struggle for several hours. I thought there was a problem with JS, so I kept checking and checking. Finally, I found that thinkphp3.2.3 filtered out the backslashes of JS regular expressions, causing the JS regular expressions to become invalid. For example, d{4} was parsed into d{4}
The solution is to use two backslashes \, for example, d{4} can be written as \d{4}
http://www.bkjia.com/PHPjc/1116240.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/1116240.htmlTechArticleThe solution to the problem that thinkphp3.2.3 version template engine will filter out backslashes, thinkphp3.2.3 slash problem I struggled with it for several hours. At first I thought it was a problem with JS, so I kept checking...