php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #48332 Why are regular expressions mentioned in the section about double quoted string
Submitted: 2009-05-19 14:10 UTC Modified: 2009-05-19 14:17 UTC
From: jward at crinet dot com Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jward at crinet dot com
New email:
PHP Version: OS:

 

 [2009-05-19 14:10 UTC] jward at crinet dot com
Description:
------------
Why are regular expressions mentioned in the section about double quoted string?
On what string do the regex operate on? Where are the results? Where is the example?

What could "foo \[0-7]{1,3}" mean? and why would any one write it?

Reproduce code:
---------------
---
From manual page: language.types.string
---



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-05-19 14:17 UTC] rquadling@php.net
The regular expression is describing how to write an octal number.

\0 to \777


 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Oct 06 22:00:02 2026 UTC