🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
7 messages
7 total messages Started by Neil Feiereisel Fri, 15 Feb 1991 23:23
Clear documentation on regular expressions?
#1380
Author: Neil Feiereisel
Date: Fri, 15 Feb 1991 23:23
13 lines
1378 bytes
I'm looking for some documentation on regular expressions and not having
much luck.  Man regexp is of no use - it refers to some C library routines
regarding regexps but does not explain regexps.  The section on regexps in
the man pages for ed and grep give a cryptic intro but after studying them,
I have no idea how to form a meaningful regexp that does what I really want
to do.

Does anyone know of any documentation on regexps, particularly one WITH 
EXAMPLES?  Any pointers to such an object, or even the object itself, would
be greatly appreciated!

-- 
Neil Feiereisel         e-mail: fireman@uiuc.edu OR fireman@cs.uiuc.edu
Re: Clear documentation on regular expressions?
#1384
Author: Roland G. Ouellette
Date: Sat, 16 Feb 1991 15:29
7 lines
1243 bytes
You might check out the couple of pages in the gnuemacs manual that
deal with regular expressions.  The quickreference card is
particularly handy.  Also check the grep/egrep man pages.
--
= Roland G. Ouellette			ouellette@tarkin.enet.dec.com	=
= 295 Central Street	   "You rescued me; I didn't want to be saved." =
= Acton MA 01720					- Cyndi Lauper	=
Re: Clear documentation on regular expressions?
#1392
Author: Anil Joshi
Date: Sat, 16 Feb 1991 22:26
7 lines
1095 bytes
Please add me to the list.
Anil
-- 
"Whatever we wish ourselves to be, we have the power to make ourselves.  If what
we are now has been the result of our own past actions,then it certainly follows
that whatever we wish to be in the future, can be produced by our own present 
actions." - Vivekananda, Late Nineteenth Century Indian Philosopher
Re: Clear documentation on regular expressions?
#1388
Author: Bill Wohler
Date: Mon, 18 Feb 1991 14:11
25 lines
1515 bytes
fireman@sunc2.cs.uiuc.edu (Neil Feiereisel) writes:
>Does anyone know of any documentation on regexps, particularly one WITH 
>EXAMPLES?  

  although the gnu documentation talks about regular expressions,
  their set is slightly richer than the norm.  *the* canonical
  reference for regular expressions is the ed(1) man page.  it includes
  simple examples.  if you keep your eyes open, you'll see some
  nightmarish examples posted on the net (this group, gnu.emacs.*,
  *.sources.d).

						--bw
						wohler@sap-ag.de


  ----- Thought for the day -----
	Thanks in advance

	This sounds as if the writer meant, "It will not be worth my
	while to write you again."  In making your request, write,
	"Will you please," or "I shall be obliged."  Then, later, if
	you feel moved to do so, or if the circustances call for it,
	write a letter of acknowledgment.

	Strunk and White's "Elements of Style"
Re: Clear documentation on regular expressions?
#1391
Author: Daniel Pommert
Date: Mon, 18 Feb 1991 16:24
16 lines
1535 bytes
Quick Reference 41.5, entitled "Regular Expressions & SUbstitute
Patterns in ex" might be what you need.

I wrote it years ago as part of a set of, what were then called,
reference guides for vi and ex.  In the transission to becoming a
"Quick Reference", Ed Dewan added more examples.  If you find any
errors, etc., please tell me by email so that I can update it.

--
-- Daniel Pommert
email.internet:	pommert@uiuc.edu	email.bitnet:	daniel@uiucvmd
phone:	(217) 333-8629
post:	DCL MC-256; 1304 W. Springfield; Urbana, IL  61801-2987
where:	40  6 47 N Latitude	88 13 36 W Longitude
Disclamer: Any of the CSO management would just laugh if someone thought
that my opinions represented University of Illinois policy or views.
Re: Clear documentation on regular expressions?
#1393
Author: Daniel Pommert
Date: Mon, 18 Feb 1991 19:45
21 lines
1818 bytes
Oops.  I was a little terse.  I also did not notice that the original
note was cross-posted to news.software.nn.

First, for those of you who are on the University of Illinois at Urbana
Champaign campus, you can pick up CSO Quick References (used to be
Reference Guides) at any (almost) CSO remote site and in the basement
of DCL.  Just look for the filing cabinet mark Quick Reference or
Reference Guides and look for QR 41.05.

For those of you out in net land, the PostScript takes about 400K.
I'll see if we can make it available via anonymous ftp somewhere.  It
would certainly be risky to try to mail something this big, but I could
try if you would like.
--
-- Daniel Pommert
email.internet:	pommert@uiuc.edu	email.bitnet:	daniel@uiucvmd
phone:	(217) 333-8629
post:	DCL MC-256; 1304 W. Springfield; Urbana, IL  61801-2987
where:	40  6 47 N Latitude	88 13 36 W Longitude
Disclamer: Any of the CSO management would just laugh if someone thought
that my opinions represented University of Illinois policy or views.
Re: Clear documentation on regular expressions?
#1394
Author: Steve Simmons
Date: Tue, 19 Feb 1991 01:14
21 lines
1534 bytes
wohler@sapwdf.UUCP (Bill Wohler) writes:

>fireman@sunc2.cs.uiuc.edu (Neil Feiereisel) writes:
>>Does anyone know of any documentation on regexps, particularly one WITH 
>>EXAMPLES?  

>  although the gnu documentation talks about regular expressions,
>  their set is slightly richer than the norm.  *the* canonical
>  reference for regular expressions is the ed(1) man page.  it includes
>  simple examples.  if you keep your eyes open, you'll see some
>  nightmarish examples posted on the net (this group, gnu.emacs.*,
>  *.sources.d).

The ed documentation does not cover a number of enhancements that
have been made to various regexp packages, especially those included
in perl and GNU emacs.

In the best of all worlds Andy Hume would be writing a Nutshell Handbook.
You out there Andy, Tim?
-- 
	"Perl is the BASIC of UNIX."  -- Tom Christiansen
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads