Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:105802 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 69745 invoked from network); 30 May 2019 13:02:05 -0000 Received: from unknown (HELO mint.phcomp.co.uk) (78.32.209.33) by pb1.pair.com with SMTP; 30 May 2019 13:02:05 -0000 Received: from addw by mint.phcomp.co.uk with local (Exim 4.91) (envelope-from ) id 1hWI29-000110-Rl for internals@lists.php.net; Thu, 30 May 2019 11:11:41 +0100 Date: Thu, 30 May 2019 11:11:41 +0100 To: PHP Internals Message-ID: <20190530101141.GN16895@phcomp.co.uk> Mail-Followup-To: PHP Internals MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Organization: Parliament Hill Computers Ltd User-Agent: Mutt/1.5.20 (2009-12-10) Subject: Error in PHP documentation From: addw@phcomp.co.uk (Alain D D Williams) I have noticed an error, please can someone with update rights fix it. https://www.php.net/manual/en/regexp.reference.character-classes.php 7th paragraph contains: However, if the "]" is escaped with a backslash it is interpreted as the end of range, so [W-\]46] is interpreted as a single class containing a range followed by two separate characters. The word NOT is missing, it should read: However, if the "]" is escaped with a backslash it is NOT interpreted as the end of range, so [W-\]46] is interpreted as a single class containing a range followed by two separate characters. Regards -- Alain Williams Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer. +44 (0) 787 668 0256 https://www.phcomp.co.uk/ Parliament Hill Computers Ltd. Registration Information: https://www.phcomp.co.uk/contact.php #include