home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / perl / 5482 < prev    next >
Encoding:
Text File  |  1992-08-25  |  1.2 KB  |  30 lines

  1. Newsgroups: comp.lang.perl
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!convex!convex!tchrist
  3. From: Tom Christiansen <tchrist@convex.COM>
  4. Subject: Re: Using $*, but pattern doesn't match
  5. Originator: tchrist@pixel.convex.com
  6. Sender: usenet@news.eng.convex.com (news access account)
  7. Message-ID: <1992Aug25.214517.555@news.eng.convex.com>
  8. Date: Tue, 25 Aug 1992 21:45:17 GMT
  9. Reply-To: tchrist@convex.COM (Tom Christiansen)
  10. References: <1992Aug25.181818.13613@advtech.uswest.com> <120@eiffel.eiffel.com>
  11. Nntp-Posting-Host: pixel.convex.com
  12. Organization: Convex Computer Corporation, Colorado Springs, CO
  13. X-Disclaimer: This message was written by a user at CONVEX Computer
  14.               Corp. The opinions expressed are those of the user and
  15.               not necessarily those of CONVEX.
  16. Lines: 12
  17.  
  18. From the keyboard of ram@eiffel.com (Raphael Manfredi):
  19. :You have to use [.\n] if you want to match anything.
  20.  
  21. Sorry, [] is a nonmagical zone, so your dot is a literal.
  22. Often we use [^\0] to mean (just about) anything.
  23.  
  24. --tom
  25. -- 
  26.     Tom Christiansen      tchrist@convex.com      convex!tchrist
  27.  
  28.     Though I'll admit readability suffers slightly... 
  29.                     --Larry Wall in <2969@jato.Jpl.Nasa.Gov>
  30.