On 8/3/10 5:23 PM, Eric Blake wrote: > But why not teach the matcher the difference between a fixed-length > pattern, vs. one that has * or other extended globbing that would cause > a variable length match? That is, since you know that [^;] can match at > most one character, there is no need to search from the current position > to the end of the string on each iteration - just search the first byte > of the string.
I could do that, and that's probably the best way to approach this, but it doesn't exist in the current implementation. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/