HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b550c3
)
(ldap-search-internal): Tweak URL regexp.
author
Chong Yidong
<cyd@stupidchicken.com>
Tue, 12 Aug 2008 18:35:18 +0000
(18:35 +0000)
committer
Chong Yidong
<cyd@stupidchicken.com>
Tue, 12 Aug 2008 18:35:18 +0000
(18:35 +0000)
lisp/net/ldap.el
patch
|
blob
|
blame
|
history
diff --git
a/lisp/net/ldap.el
b/lisp/net/ldap.el
index
7ab737d
..
6cf96f3
100644
(file)
--- a/
lisp/net/ldap.el
+++ b/
lisp/net/ldap.el
@@
-584,7
+584,9
@@
an alist of attribute/value pairs."
(end-of-line)
(point))))
(forward-line 1)
- (while (looking-at "^\\(\\w*\\)\\(;\\w*\\)?[=:\t ]+\\(<[\t ]*file://\\)\\(.*\\)$")
+ (while (looking-at "^\\([A-Za-z][-A-Za-z0-9]*\
+\\|[0-9]+\\(?:\\.[0-9]+\\)*\\)\\(;[-A-Za-z0-9]+\\)*[=:\t ]+\
+\\(<[\t ]*file://\\)\\(.*\\)$")
(setq name (match-string 1)
value (match-string 4))
;; Need to handle file:///D:/... as generated by OpenLDAP