'/^[A-Z]++$/D' 两个连续加号的正则表达式含义是什么?
laravel request getMethod 疑问
Request.php
if (!preg_match('/^[A-Z]++$/D', $method)) {
throw new SuspiciousOperationException(sprintf('Invalid method override "%s".', $method));
}
这个正则的两个加号是什么意思?跪求大佬指点迷津。
'/^[A-Z]++$/D'
推荐文章: