home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / question / 13601 < prev    next >
Encoding:
Internet Message Format  |  1992-11-18  |  1.5 KB

  1. Path: sparky!uunet!ferkel.ucsb.edu!taco!rock!stanford.edu!ames!network.ucsd.edu!sdcc12!impending!zz1bb
  2. From: zz1bb@impending.ucsd.edu (Barry Brown)
  3. Newsgroups: comp.unix.questions
  4. Subject: Re: C Source Code for Pattern Matching
  5. Keywords: text pattern matching source
  6. Message-ID: <41217@sdcc12.ucsd.edu>
  7. Date: 18 Nov 92 22:21:01 GMT
  8. References: <leb.721935245@edgar> <1992Nov17.221125.24947@dcc.uchile.cl>
  9. Sender: news@sdcc12.ucsd.edu
  10. Lines: 22
  11. Nntp-Posting-Host: impending.ucsd.edu
  12.  
  13. In <1992Nov17.221125.24947@dcc.uchile.cl> erodrigu@dcc.uchile.cl (Eduardo Rodriguez) writes:
  14.  
  15.  
  16. >In article <leb.721935245@edgar>, leb@edgar.Jpl.Nasa.Gov (Larry Bright) writes:
  17. >> Could anyone tell me where I could find C source code for some
  18. >> simple text pattern matching s/w, preferably with a syntax and
  19. >> semantics based on "regular expressions" as in grep, awk, sed, etc.
  20. >> Anything that implements a non-trivial subset of these functions
  21. >> would be useful.
  22.  
  23. >The agrep package (approximate pattern matching) has many of the grep functions
  24. >and other stuff besides.  You can pick it up from cs.arizona.edu using
  25. >anonymous ftp.
  26.  
  27. Doing "man regexp" on my Sun turned up a C library for regular expression
  28. matching.  The routines you need may be right under your nose!
  29.  
  30. -- 
  31. Barry E. Brown        --        \  UCSD Instructional Computing Center
  32. bebrown@ucsd.{edu,uucp,bitnet}   \   Anime Stuff FTP Server administrator
  33. Somewhere in San Diego, CA.....   \    (ftp network.ucsd.edu [132.239.254.203])
  34. "Stimpy, sometimes your wealth of ignorance astounds me." -- Ren
  35.