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. *
Andrei Zmievski wrote:
Any thoughts or objections?
On a sidenote, the bundled PCRE library is a bit outdated (I have 4.x
on my GENTOO laptop, for instance).
Can ext/pcre be built against a system library rather than the
bundled one? Last time I tried it failed.
--
Sebastian Bergmann
http://sebastian-bergmann.de/ http://phpOpenTracker.de/
http://www.professionelle-softwareentwicklung-mit-php5.de/
I wonder if these people have a summary of things they ideally need. Then
we could have ext/bioinformatics. Who knows, it might bring PHP to new places.
Anyway, I'm neutral about the parameter change. Will it be a default parameter?
Andi
At 01:12 PM 26/6/2003 -0400, Andrei Zmievski wrote:
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. *
I wonder if these people have a summary of things they ideally need. Then
we could have ext/bioinformatics. Who knows, it might bring PHP to new
places.
Anyway, I'm neutral about the parameter change. Will it be a default
parameter?
Yes, it would. Defaulting to 0 of course.
-Andrei
<yaragn> ever seen that movie? The Matrix?
<yaragn> with those green lines of flying text?
<yaragn> THAT'S Perl