I would not penalize any implementation much for "one time" work. In general, time spent in regcomp etc. at startup is not a concern. (unless it's seconds :) Time taken to scan large files and/or many files is more important. Thanks for investigating. Gordon