Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!crdgw1!uunet!mcsun!ukc!strath-cs!glasgow!udcf.glasgow.ac.uk!gpaa29 From: gpaa29@udcf.glasgow.ac.uk (F.Burton) Newsgroups: comp.editors Subject: Re: Multiple line regexps Keywords: regexp, multiple lines Message-ID: <1991Jun6.075645.26494@udcf.glasgow.ac.uk> Date: 6 Jun 91 07:56:45 GMT References: <1991Jun2.231351.10229@trl.oz.au> <1991Jun4.215913.25633@sq.sq.com> Distribution: comp Organization: Glasgow University Computing Service Lines: 18 You might like to look at the article 'The Text Editor sam' by Rob Pike in Software--Practice and Experience (1987) _17_, 813-845. Pike describes the way sam handles "structural regular expressions", where the file is treated as a single string with matchable newlines. The original reference is: R.Pike, 'Structural Regular Expressions,' Proc. EUUG Spring Conf., Helsinki 1987, European Unix User's Group, Buntingford, Herts, UK. -- Francis Burton Physiology, Glasgow University, Glasgow G12 8QQ, Scotland 041 339 8855 x6609 | JANET: F.L.Burton@vme.gla.ac.uk !net: via mcsun & ukc "A horse! A horse!" | INTERNET: via nsfnet-relay.ac.uk BITNET: via UKACRL -- -- Francis Burton Physiology, Glasgow University, Glasgow G12 8QQ, Scotland 041 339 8855 x6609 | JANET: F.L.Burton@vme.gla.ac.uk !net: via mcsun & ukc "A horse! A horse!" | INTERNET: via nsfnet-relay.ac.uk BITNET: via UKACRL