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