[LDAPsh-cvs] ldapsh ldapsh,1.47,1.48
Status: Beta
Brought to you by:
rcorvalan
From: <j-d...@us...> - 2004-02-11 00:13:29
|
Update of /cvsroot/ldapsh/ldapsh In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv634 Modified Files: ldapsh Log Message: * Fixed an amusing regex bug. Index: ldapsh =================================================================== RCS file: /cvsroot/ldapsh/ldapsh/ldapsh,v retrieving revision 1.47 retrieving revision 1.48 diff -C2 -d -r1.47 -r1.48 *** ldapsh 9 Feb 2004 09:07:17 -0000 1.47 --- ldapsh 11 Feb 2004 00:09:45 -0000 1.48 *************** *** 2193,2197 **** while (<LDIF>) { # Simplification of RFC 2849 ! if (/^[0-9a-zA-Z][^:<]*(:|::|<)\W*$/) { # is an attribute with an "empty" value printf $fh "#%s", $_; --- 2193,2197 ---- while (<LDIF>) { # Simplification of RFC 2849 ! if (/^[0-9a-zA-Z][^:<]*(:|::|<)\s*$/) { # is an attribute with an "empty" value printf $fh "#%s", $_; |