cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: Wildcard utility
Date Wed, 05 Jul 2000 10:38:16 GMT
Niclas Hedhman wrote:
> 
> I have written a wildcard matching utility (not complete yet), and would
> like help with finding any problems with it before I proceed to the next
> level (return the array of wildcard matches).
> 
> Anyone wish to create more test samples??
> 
> Now supported;
> * = zero or many characters
> ? = 1 and only 1 character
> 
> At a "*" it will scan the input string up until the following character
> is found in the input string.
> Meaning; No subexpression is evaluated. A pure, character per character
> thing...I.E;
> "abbaabc" matched again "*abc", will Not match.
> I leave all that for the true RegExp matcher.
> 
> I believe the performance is acceptable (~11 microsecond call overhead
> +  2-3 microseconds per character on my machine, in Java interperted
> mode.)

We already have it in the tree.... Pier wrote it and I remind he told me
its faster than this...

Might want to check with the C2 tree...

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<stefano@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------
 Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------



Mime
View raw message