Path: utzoo!utgpu!news-server.csri.toronto.edu!wotan.ai.toronto.edu!kramer Newsgroups: comp.emacs From: kramer@ai.toronto.edu ("Bryan M. Kramer") Subject: regexps for sexps Message-ID: <91Jun7.130049edt.133296@wotan.ai.toronto.edu> Organization: Department of Computer Science, University of Toronto Distribution: na Date: 7 Jun 91 17:01:09 GMT Lines: 22 I'd like a syntax within regular expressions that could be used for matching balanced sexps in lisp code. Assume the syntax is \{ and \} where \{ matches the beginning of an sexp and \} matches the end of the sexp marked by a matching \}. Newlines would be ignored. Thus foo \(\{cond.\}\) would match foo (cond (a b) (c d)) Just an idea for emacs developers (or does it exist?) Bryan M. Kramer - 416-978-7330 - Department of Computer Science, University of Toronto Toronto, ON M5S 1A4