home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.perl
- 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
- From: utashiro@sran230.sra.co.jp (Kazumasa Utashiro)
- Subject: Re: Partial RegExp's
- References: <BxGFIy.LuA@news.cso.uiuc.edu>
- Organization: Software Research Associates, Inc., Japan
- Date: Thu, 12 Nov 1992 04:43:51 GMT
- Message-ID: <BxL6H4.8Dx@sran230.sra.co.jp>
- Lines: 19
-
- In article <BxGFIy.LuA@news.cso.uiuc.edu>
- chappell@math.uiuc.edu (Glenn Chappell) writes:
- >> Of course, the way you deal with huge files is to read them in chunks.
- >> The problem with that is that you miss a pattern match that starts on
- >> one chunk and ends on another.
-
- My mg (multi-line grep) script is doing pattern match like
- this:
-
- ********************
- *************************
- *************************
-
- Of course, there possibly be missing matches but this method
- works fine for my purpose. Also it is true that making this
- kind of program is very tough. I had to spend a lot of time
- to debug it.
-
- --utashiro
-