#34142 [NEW]: Pattern Syntax incorrect
| From: | webmaster at trumpetsonline dot nl | Date: | Mon, 15 Aug 2005 20:25:07 +0000 |
| Subject: | #34142 [NEW]: Pattern Syntax incorrect | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969369620@lists.php.net to get a copy of this message | ||
From: webmaster at trumpetsonline dot nl
Operating system:
PHP version: Irrelevant
PHP Bug Type: Documentation problem
Bug description: Pattern Syntax incorrect
Description:
------------
The PREG_PATTERN_ORDER and the PREG_SET_ORDER examples noted on the
following page:
http://nl3.php.net/manual/nl/function.preg-match-all.php
have a incorrect pattern.
This is the current pattern on this page:
|<[^>]+>(.*)</[^>]+>|U
To get the result you showed on this page the pattern has to be:
|<[^.]+>(.*)</[^>]+>|U
--
Edit bug report at http://bugs.php.net/?id=34142&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34142&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34142&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34142&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=34142&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=34142&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=34142&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=34142&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=34142&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=34142&r=support
Expected behavior: http://bugs.php.net/fix.php?id=34142&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=34142&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=34142&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=34142&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34142&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=34142&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=34142&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=34142&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=34142&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=34142&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=34142&r=mysqlcfg