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. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php