note 58510 deleted from pcre.pattern.syntax by betz

From: Date: Sun, 06 Nov 2005 22:23:54 +0000
Subject: note 58510 deleted from pcre.pattern.syntax by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-98171@lists.php.net to get a copy of this message
Note Submitter: Sean (seanj.jcink.com) ---- Is there any possible way to index the matches by a subpattern? This could greatly decrease my execution time and shorten my script. Example: preg_match_all("@(key1|key2|key3)@",$input,$matches["\\1"]); I know that will not work, but is there any way to do that? Thanks. ~Sean

« previous php.notes (#98171) next »