当前位置:网站首页>PHP prompts unknown modifier when using regular
PHP prompts unknown modifier when using regular
2022-04-22 04:49:00 【Day____ Day____ Up】
php Use regular prompts Unknown modifier ')' , It feels strange that regular brackets should be recognized , Here's my regular code :
preg_split('|(\t| )+|', $lineData);
It turns out that / Delimiter or # when , You can work normally , The changed code :
preg_split('/(\t| )+/', $lineData);
summary : How does it seem that regular use | When making a delimiter , If you use parentheses, you will report the above error , So use / perhaps # Or some other alternative .
版权声明
本文为[Day____ Day____ Up]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204210758106123.html
边栏推荐
- The website is linked to the gambling dark chain
- Convert a matrix into a sparse matrix, and then convert a sparse matrix into a matrix (Part I)
- 2022年P气瓶充装培训试题及答案
- Deployment of web server, personal experience
- Thesis reading (47): dtfd-mil: double tier feature interpretation multiple instance learning for histopathology
- 【Selenium】UnitTest测试框架的基本应用
- Pycharm + Anaconda installation package
- [stack and queue] simple application of C language ⌊ stack and queue realize each other, circular queue ⌉
- 一个基于.NET Core3.1的开源项目帮你彻底搞懂WPF框架Prism
- 使用指定显卡
猜你喜欢

JVM - G1 garbage collector

Morphological operation of OpenCV image processing
![[selenium] yaml data driven](/img/a1/721b2414b62a940ae1a0dd95046322.png)
[selenium] yaml data driven

6. Comparable to JMeter Net pressure measurement tool - crank practical chapter - collecting diagnosis tracking information and how to analyze bottlenecks

Sharing of enterprise data leakage prevention scheme
![[chestnut sugar GIS] ArcMap - how to combine multiple images into one](/img/b4/fb1ceaf4cbb040ae0fc1d0ffbc46f9.png)
[chestnut sugar GIS] ArcMap - how to combine multiple images into one

JVM - common parameters

Carina local storage selected into the CNCF cloud native panorama

2022 a special equipment related management (elevator) retraining question bank and answers
![[SQL Server accelerated path] database and table (II)](/img/5a/cb54c5ca894820ab46b02d4c0ee346.png)
[SQL Server accelerated path] database and table (II)
随机推荐
Mui pop up menu
LeetCode 剑指 Offer 68 - I. 二叉搜索树的最近公共祖先
Climb the actor's name and add a link
11.libevent对水平触发和边缘触发测试
STL的unique函数返回值
2021-08-14
Leetcode refers to offer 68 - I. the nearest common ancestor of the binary search tree
Transaction isolation level and mvcc
Convert a matrix into a sparse matrix, and then convert a sparse matrix into a matrix (Part I)
Feature Engineering - feature preprocessing (normalization, standardization)
LeetCode 剑指 Offer 15. 二进制中1的个数
LeetCode 剑指 Offer 18. 删除链表的节点
【板栗糖GIS】arcmap—模型构造器—批量裁剪栅格数据
2021-08-14
CPU调用进程的方式
14. Buffferevent timeout event processing
The website is linked to the gambling dark chain
C-handwritten 10
Deployment of web server, personal experience
Boyun beyondcmp cloud management platform version 5.6 release