PHP regular expressions

From: Date: Tue, 05 Aug 2003 20:18:30 +0000
Subject: PHP regular expressions
Groups: php.internals 
Request: Send a blank email to internals+get-3737@lists.php.net to get a copy of this message
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.

« previous php.internals (#3737) next »