home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / programm / 4251 < prev    next >
Encoding:
Internet Message Format  |  1992-08-12  |  1.2 KB

  1. Xref: sparky comp.unix.programmer:4251 comp.unix.misc:3205
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!wupost!sdd.hp.com!usc!rpi!bu.edu!cs!tasos
  3. From: tasos@cs.bu.edu (Anastasios Kotsikonas)
  4. Newsgroups: comp.unix.programmer,comp.unix.misc
  5. Subject: regular expressions
  6. Message-ID: <93441@bu.edu>
  7. Date: 12 Aug 92 13:56:02 GMT
  8. Sender: news@bu.edu
  9. Followup-To: comp.unix.programmer
  10. Organization: Computer Science Department, Boston University, Boston, MA, USA
  11. Lines: 18
  12. Originator: tasos@cs
  13.  
  14.  
  15. Hi all,
  16. I am writing an application that will do pattern matching using the
  17. wild characters * and ?; regular expressions may be separated by |. I want
  18. to use regcmp()/regex() or re_comp()/re_exec() depeding on the
  19. platform but I just cannot get the same results from different ports
  20. for the * wild character. I substitute the * with .{0,} and only SVR3
  21. systems give me the right results. BSD and SVR4 either do not match
  22. properly or do not match at all the patterns I specify.
  23.  
  24. Any suggestions?
  25.  
  26. Tasos
  27. -- 
  28. --
  29. Tasos Kotsikonas |   tasos@cs.bu.edu    | Work : Advanced Visual Systems
  30. Ex BU Country     |                      | email: tasos@avs.com
  31. Club Member.     |                      | Duties: none
  32.