# HG changeset patch # User Eli Zaretskii # Date 1107631083 0 # Node ID ccb26cb917afd7151d8e1371702324e978572cfa # Parent 462cd8b14e71084592ce64f9cb21839df60c2655 (ldap-search-internal): Support attributes with optional descriptions separated by a semi-colon, as in "userCertificate;binary". diff -r 462cd8b14e71 -r ccb26cb917af lisp/net/ldap.el --- a/lisp/net/ldap.el Sat Feb 05 18:12:32 2005 +0000 +++ b/lisp/net/ldap.el Sat Feb 05 19:18:03 2005 +0000 @@ -579,9 +579,9 @@ (end-of-line) (point)))) (forward-line 1) - (while (looking-at "^\\(\\w*\\)[=:\t ]+\\(<[\t ]*file://\\)?\\(.*\\)$") + (while (looking-at "^\\(\\w*\\)\\(;\\w*\\)?[=:\t ]+\\(<[\t ]*file://\\)?\\(.*\\)$") (setq name (match-string 1) - value (match-string 3)) + value (match-string 4)) ;; Need to handle file:///D:/... as generated by OpenLDAP ;; on DOS/Windows as local files. (if (and (memq system-type '(windows-nt ms-dos))