regex and performance

Richard Sharpe sharpe at
Fri May 1 02:49:07 GMT 1998


I have done some testing with clitar with regex and mask_match.

Boy, is regexec slow :-(

mask_match is much faster, but you cannot do the following with mask_match:

   smbclient \\\\serv\service -TcrX fred.tar ".*.(obj|lis)" to exclude all 
   .obj and .lis files ...

I have found syntax differences as well, where Linux will accept
"*.(obj|lis)" while Digital UNIX wants ".*.(obj|lis)"

Richard Sharpe, sharpe at, NIC-Handle:RJS96
NS Computer Software and Services P/L, 
Ph: +61-8-8281-0063, FAX: +61-8-8250-2080, 
Linux, AIX, Digital UNIX, ULTRIX, SunOS, Samba, Apache, NetScape,
StrongHold, Perl, C, PPP ...

More information about the samba-technical mailing list