|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-11-16 23:43 UTC] scottmac@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 26 06:00:02 2025 UTC |
Description: ------------ I wish for a PCRE function to get the minimum matching length of a regular expression. For example: * preg_min_length('/^HTTP.*/'): 4 * preg_min_length('/^(?:HTTP)?.+/'): 1 * preg_min_length('/^(?:HTTP)?.*/'): 0