Path: utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!UUNET.UU.NET!mcvax!emeraude.dedlpr.bull.fr!macrakis From: mcvax!emeraude.dedlpr.bull.fr!macrakis@UUNET.UU.NET (Stavros Macrakis) Newsgroups: gnu.emacs.bug Subject: Outline mode and regular expressions Message-ID: <8812201730.AA05827@emeraude.dedlpr.bull.fr> Date: 20 Dec 88 17:30:19 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 9 Outline mode doesn't work if outline-regexp contains an unparenthes- ized alternative (\|). This is because outline-next-preface does (concat "[\n\^M]" outline-regexp). This is a general problem with string-form regular expressions. Why doesn't gnumacs support a Lisp-like regular expression format? e.g. [ab]\(foo\|bar\) = (concat (any "ab") (alt "foo" "bar")). This would make manipulating regular expressions much handier.