XEmacs compatibility
XEmacs doesn't know anything about character classes in regexps (e.g. [:space:]). Most likely a space will suffice instead, for matching the whitespace between an XML node name and its attributes.
This commit is contained in:
parent
7d0c1f6139
commit
e1a887a17c
|
@ -243,7 +243,7 @@ Call this function after disconnection."
|
|||
(if (string-match " \\w+=''" *xmlq*)
|
||||
(setq *xmlq* (replace-match "" nil nil *xmlq*)))
|
||||
(catch 'jabber-no-tag
|
||||
(while (string-match "<\\([a-zA-Z0-9\:]+\\)[>[:space:]]" *xmlq*)
|
||||
(while (string-match "<\\([a-zA-Z0-9\:]+\\)[> ]" *xmlq*)
|
||||
(if (or (string-match (concat "<" (match-string 1 *xmlq*) "[^<>]*?/>") *xmlq*)
|
||||
(string-match (concat "<" (match-string 1 *xmlq*) ".*?>[^\0]+?</" (match-string 1 *xmlq*) ">") *xmlq*))
|
||||
(progn
|
||||
|
|
Loading…
Reference in New Issue