Home > Backend Development > PHP Tutorial > php正则表达式的反向引用有关问题

php正则表达式的反向引用有关问题

WBOY
Release: 2016-06-13 12:43:56
Original
1122 people have browsed it

php正则表达式的反向引用问题?
理论上的问题哈:

反向引用子表达式我知道的是: 

\1
表示引用第一个子表达式的值

后来无意看到有人这样引用: ${1} 就孤陋寡闻了,可以用,但是查不到相关文档说明,请高手教诲

Related labels:
source:php.cn
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template