Hi, I got the following strange behaviour in the regexp matching on both
XEmacs/Mule on HP-UX and XEmacs on Windows-NT: the only difference is
\\(ab\\|dg\\)\\| vs ab\\|dg\\| at the beginning...
(let ((re
"\\(\\(\\.\\(\\(ab\\|dg\\)\\|[ch]\\(\\+\\+\\|pp\\|c\\|h\\|xx\\)?\\|tex\\(i\\(nfo\\)?\\)?\\|el\\|emacs\\|l\\|lsp\\|p\\|java\\|f\\(90\\|77\\|or\\)?\\|ada\\|p[lm]\\|tcl\\|m\\|scm\\|pm\\|py\\|g\\|s?html\\|ma?k\\)\\)\\|\\([Mm]akefile\\(\\.in\\)?\\)\\)$"))
(cons (string-match re "sb-image.el") (string-match re "sb-ant.el")))
=> (nil . 6)
(let ((re
"\\(\\(\\.\\(ab\\|dg\\|[ch]\\(\\+\\+\\|pp\\|c\\|h\\|xx\\)?\\|tex\\(i\\(nfo\\)?\\)?\\|el\\|emacs\\|l\\|lsp\\|p\\|java\\|f\\(90\\|77\\|or\\)?\\|ada\\|p[lm]\\|tcl\\|m\\|scm\\|pm\\|py\\|g\\|s?html\\|ma?k\\)\\)\\|\\([Mm]akefile\\(\\.in\\)?\\)\\)$"))
(cons (string-match re "sb-image.el") (string-match re "sb-ant.el")))
=> (8 . 6)
BTW, I'll submit a patch to Eric Ludlam for
speedbar-0.14beta2... (basically to get my patch to XEmacs from
1999-08-26 back -- my own fault not to realize the "probably"...).
- Christoph