Doc #62360 [Com]: Five valid PCRE escape sequences not documented
[email protected] ("nazi dot farhadi3171 at gmail dot com") Mon, 26 Dec 2022 08:37:42 +0000
| Newsgroups | php.doc.bugs |
|---|---|
| Message-ID | <[email protected]> |
Edit report at https://bugs.php.net/bug.php?id=62360&edit=1 ID: 62360 Comment by: nazi dot farhadi3171 at gmail dot com Reported by: danielklein at airpost dot net Summary: Five valid PCRE escape sequences not documented Status: Open Type: Documentation Problem Package: PCRE related PHP Version: Irrelevant Block user comment: N Private report: N New Comment: I'm extremely intrigued with your post. I desire to get more incredible posts. (https://www.ariseportal.org/)github.com Previous Comments: ------------------------------------------------------------------------ [2021-02-02 05:59:58] jessiesilva1989 at gmail dot com Perl's regular expressions are described in its own documentation, and regular by starting a pattern string with one of the following five sequences: This escaping action applies whether or not the following character would Such characters are not valid in Unicode strings and so cannot be tested. https://www.omegle.run/ ------------------------------------------------------------------------ [2018-03-21 13:35:06] [email protected] Related To: Bug #65890 ------------------------------------------------------------------------ [2014-01-04 07:48:03] minktee at hotmail dot com Document problem ------------------------------------------------------------------------ [2012-08-02 03:50:50] vovan-ve at yandex dot ru Also recursive (?+n) and (?-n) are undocumented (PHP >= 5.2.4, PCRE >= 7.2). Back references in form \g<n>, \g<-n>, \g'n', \g'-n' (PHP >= 5.2.7, PCRE >= 7.7) are not mentioned. ------------------------------------------------------------------------ [2012-08-02 03:40:29] vovan-ve at yandex dot ru Also \N is undocumented. It was introduced in PCRE/8.10 (PHP/5.3.4?). Also some types of conditions in conditional subpattern (?( are undocumented. All available conditions are: n +n, -n (PCRE >= 7.2, PHP >= 5.2.4) name (PCRE >= 6.7, PHP >= 5.2.0) <name>, 'name' (PCRE >= 7.0, PHP >= 5.2.2) R Rn (PCRE >= 7.0, PHP >= 5.2.2) R&name (PCRE >= 7.0, PHP >= 5.2.2) ?assertion DEFINE (PCRE >= 7.0, PHP >= 5.2.2) Also (?C)/(?Cn) is not documented and not implemented. But it works and does nothing (PCRE >= 4.0). The subject of the bug is "escape sequences not documented". Should it be renemed to "features not documented"? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=62360 -- Edit this bug report at https://bugs.php.net/bug.php?id=62360&edit=1