Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:3737 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29723 invoked from network); 5 Aug 2003 20:18:51 -0000 Received: from unknown (HELO bgbest.net) (212.91.188.18) by pb1.pair.com with SMTP; 5 Aug 2003 20:18:51 -0000 Received: (qmail 4275 invoked from network); 5 Aug 2003 20:18:45 -0000 Received: from unknown (HELO damagegqsaogpp) (212.91.188.166) by dns.bgbest.net with SMTP; 5 Aug 2003 20:18:45 -0000 To: "PHP-DEV" Date: Tue, 5 Aug 2003 23:18:30 +0300 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Subject: PHP regular expressions From: vma1@abv.bg ("Vesselin Atanasov") Hello. In regex/utils.h there is a definition for DUPMAX: #ifdef _POSIX2_RE_DUP_MAX #define DUPMAX _POSIX2_RE_DUP_MAX #else #define DUPMAX 255 #endif On Linux with glibc this effectively sets the DUPMAX count to 255. But I think that this number is too low, so there is no way to use a regex like .{1,256} Is there any chance that this number will be increased or at least made configurable? I can make a patch if the maintainer is interested.