我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

这/ /(* MARK:A)/正则表达式功能是什么?

What is the name of this regex feature, and is there any documenation about it (PHP specific or not)?

preg_match('/(*MARK:A)a/', 'a', $matches);

https://github.com/nikic/FastRoute/blob/master/test/Dispatcher/MarkBasedTest.php#L7

This is documented in the PCRE pattern documentation, search for "Recording which path was taken" on that page. It appears to be a fairly specific feature and it wouldn't be useful in the example you have provided.

近期文章

  • 如何在PHP中编辑结果行?
  • MySQL无用的SQL语法错误
  • 警告[cache]保存密钥失败
  • TypeError:f是未定义的laravel
  • 将分钟添加到列表中
  • 使用curl时获得完整的<Doctype>
  • 从嵌入式控制器重定向
  • PHP中的集中错误报告
  • 绝对URL的相对+基本URL?
  • 将用户重定向到另一个页面
  • 从mysql库到页面的回显数据
  • 用PHP代码创建字母T.
  • 使用PhantomJS访问网站
  • PHP搜索功能澄清
  • 简单的下一页分页MYSQLI
  • 存储不变数据的最佳方式
  • PHP $ _POST数组中的Textarea截止值
  • Sphinx与正确的符号不匹配
  • 在WAMP上集成postgreSQL
  • 在生产中使用Cakephp测试

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华