home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.lang.prolog:1675 comp.lang.c:13325
- Path: sparky!uunet!mcsun!sun4nl!disnet!arjen
- From: arjen@disnet.uucp (Arjen Duursma)
- Newsgroups: comp.lang.prolog,comp.lang.c
- Subject: Re: Need code to match strings with regular expressions
- Message-ID: <513@tower1.uucp>
- Date: 8 Sep 92 12:12:56 GMT
- References: <82078@bcsaic.boeing.com>
- Organization: Disnet, IDE Maassluis, The Netherlands
- Lines: 17
-
- milan@bcsaic.boeing.com (Milan Richter) writes:
-
- >I am looking for a public domain code for matching strings with regular
- >expressions. Essentially, given a string and a regular expression (such as,
- >e.g., are used in emacs), I want to tell whether they match.
- I don't know about emacs, but if their regular expressions are anything
- like ed,sed,vi, expr ..... (insert lots of other unix tools), then the
- source code is in /usr/include/regexp.h on any decent unix machine. Some
- of the routines must however still be added (like getc()?). I've used it
- in several applications and it works just fine.
- There are also a few functions like regex and regcmp but personaly I
- prefer the basics.
-
- If you need help, just mail.
-
- Arjen
-
-