ID: 34142 Updated by: [EMAIL PROTECTED] Reported By: webmaster at trumpetsonline dot nl -Status: Open +Status: Bogus Bug Type: Documentation problem PHP Version: Irrelevant New Comment:
The pattern is correct. '[^.]' would only match a new-line (\n), thus making no sense. Previous Comments: ------------------------------------------------------------------------ [2005-08-15 22:25:07] webmaster at trumpetsonline dot nl 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 this bug report at http://bugs.php.net/?id=34142&edit=1
