Table of Contents
PHP中使用正则表达式的问题
Jun 06, 2016 pm 08:43 PM
php
regular expression
今天看PHP的正则表达式,其中有一个PCRE模式。我的意思是,正则表达式还有各种不同的模式?
比如在某种情况下点号代码A,但是在另外一种情况下点号就代表B么?
那么现在主流的正则表达式模式是什么呢?
回复内容:
今天看PHP的正则表达式,其中有一个PCRE模式。我的意思是,正则表达式还有各种不同的模式?
比如在某种情况下点号代码A,但是在另外一种情况下点号就代表B么?
那么现在主流的正则表达式模式是什么呢?
主要就是PCRE和POSIX两种,根据环境来定,基本思路是一样的,只是一些细节不同,有不了解的地方,看看PHP帮助文档里的对应说明就行了。
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot Article
How Long Does It Take To Beat Split Fiction?
3 weeks ago
By DDD
Repo: How To Revive Teammates
3 weeks ago
By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
3 weeks ago
By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
1 weeks ago
By 尊渡假赌尊渡假赌尊渡假赌

Hot tools Tags

Hot Article
How Long Does It Take To Beat Split Fiction?
3 weeks ago
By DDD
Repo: How To Revive Teammates
3 weeks ago
By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
3 weeks ago
By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
1 weeks ago
By 尊渡假赌尊渡假赌尊渡假赌

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

PHP 8.4 Installation and Upgrade guide for Ubuntu and Debian

How To Set Up Visual Studio Code (VS Code) for PHP Development
