php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #44753 PCRE syntax doc page lacks important information
Submitted: 2008-04-17 08:44 UTC Modified: 2008-05-02 22:10 UTC
From: mathieu_microsystem at live dot fr Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mathieu_microsystem at live dot fr
New email:
PHP Version: OS:

 

 [2008-04-17 08:44 UTC] mathieu_microsystem at live dot fr
Description:
------------
In the following page:
http://php.net/manual/en/regexp.reference.php

Nowhere it is indicated that:

"The expression should be enclosed in the delimiters, a forward slash (/), for example."

(which comes from the intro http://php.net/manual/en/intro.pcre.php ).

It is important that this information is restated early on the reference since PRCE regexps are NOT working without such delimiters. Also, "should" should be replaced by "must" in the sentence above, in both files.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-05-02 22:10 UTC] fa@php.net
As you said, it's already on http://www.php.net/manual/en/intro.pcre.php.

I'll fix the should -> must though.

Thanks for reporting.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 01:00:01 2026 UTC