At 11:39 AM 1/29/2008 -0500, Tseng, Joe [CONTRACTOR] wrote: >$objZip->addTreeMatching( $workingdir, 'config', "\.(ini|txt)"); > >But the following line doesn't work for adding what is remaining to >another archive directory : > >$objZip->addTreeMatching( $workingdir, 'results', "!\.(ini|txt)");
If that final argument is supposed to be regex code then u want a negative lookahead assertion. "\.(?!(ini|txt))" That should do what u want. U should also read the regex manpage. HTH -- REMEMBER THE WORLD TRADE CENTER ---=< WTC 911 >=-- "...ne cede malis" 00000100 _______________________________________________ Perl-Win32-Users mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
