home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / perl / 6951 < prev    next >
Encoding:
Text File  |  1992-11-11  |  1.1 KB  |  30 lines

  1. Newsgroups: comp.lang.perl
  2. Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!sh.wide!wnoc-tyo-news!sranha!sranhd!sran230!utashiro
  3. From: utashiro@sran230.sra.co.jp (Kazumasa Utashiro)
  4. Subject: Re: Partial RegExp's
  5. References: <BxGFIy.LuA@news.cso.uiuc.edu>
  6. Organization: Software Research Associates, Inc., Japan
  7. Date: Thu, 12 Nov 1992 04:43:51 GMT
  8. Message-ID: <BxL6H4.8Dx@sran230.sra.co.jp>
  9. Lines: 19
  10.  
  11. In article <BxGFIy.LuA@news.cso.uiuc.edu>
  12.     chappell@math.uiuc.edu (Glenn Chappell) writes:
  13. >> Of course, the way you deal with huge files is to read them in chunks.
  14. >> The problem with that is that you miss a pattern match that starts on
  15. >> one chunk and ends on another.
  16.  
  17. My mg (multi-line grep) script is doing pattern match like
  18. this:
  19.  
  20. ********************
  21.                *************************
  22.                                    *************************
  23.  
  24. Of course, there possibly be missing matches but this method
  25. works fine for my purpose.  Also it is true that making this
  26. kind of program is very tough.  I had to spend a lot of time
  27. to debug it.
  28.  
  29. --utashiro
  30.