>>>> "Martin" == Martin Stjernholm
<mast(a)lysator.liu.se> writes:
Martin> The regexp-opt function sometimes fails on "\n". If I evaluate
Martin> (regexp-opt '("\n" "ab" "c"
"d"))
Martin> I get
Martin> "ab\\|[cd]"
Problem confirmed with
(emacs-version)
"XEmacs 21.4 (patch 14) \"Reasonable Discussion\" [Lucid]
(i586-pc-win32) of Sun Sep 14 2003 on D5DC120J"
Adrian
Martin> but I expect
Martin> "ab\\|[\ncd]"
Martin> Note: This bug does not exist in Emacs 21.
--
Adrian Aichner
mailto:adrianï¼ xemacs.org
http://www.xemacs.org/