Article View: comp.emacs
Article #3465regexps for sexps
From: "Bryan M. Kramer"
Date: Fri, 07 Jun 1991 17:01
Date: Fri, 07 Jun 1991 17:01
22 lines
891 bytes
891 bytes
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
Technical Details
Message-ID:
<91Jun7.130049edt.133296@wotan.ai.toronto.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!wotan.ai.toronto.edu!kramerShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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