Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:2848 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 50428 invoked from network); 26 Jun 2003 17:13:29 -0000 Received: from unknown (HELO localhost.localdomain) (24.60.162.231) by pb1.pair.com with SMTP; 26 Jun 2003 17:13:29 -0000 Received: (from andrei@localhost) by localhost.localdomain (8.11.6/8.11.6) id h5QHCiu05823 for internals@lists.php.net; Thu, 26 Jun 2003 13:12:44 -0400 X-Authentication-Warning: localhost.localdomain: andrei set sender to andrei@gravitonic.com using -f Date: Thu, 26 Jun 2003 13:12:44 -0400 To: PHP Internals Message-ID: <20030626171243.GF5721@hyperion.gravitonic.com> Mail-Followup-To: Andrei Zmievski , PHP Internals Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: More preg_match_* control From: andrei@gravitonic.com (Andrei Zmievski) Hi, Apparently a few people are doing a lot of bioinformatics data sifting with PHP and one of them asked me if it would be possible to add a parameter to preg_match_* functions to indicate the starting offset for the search. I think it's a good idea, and having looked at the current implementation, I think this parameter can just come after the 'flags' one. It won't be used that often, so specifying 0 for flags in that case is okay. Any thoughts or objections? -Andrei * Entropy isn't what it used to be. *