Article View: comp.lang.prolog
Article #697Re: Need code to match strings with regular expressions
From: James B. Wilkinson
Date: Tue, 08 Sep 1992 20:00
Date: Tue, 08 Sep 1992 20:00
11 lines
1078 bytes
1078 bytes
>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. > >>Can anyone provide pointers to either C or Prolog implementation? Purdue Compiler-Construction Tool Set comes with C source for a function called rexpr(char *, char *) which seems to do what you want. SIGPLAN Notices Feb. 1992 page 92.
Technical Details
Message-ID:
<1992Sep8.200014.11691@usceast.cs.scarolina.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!gatech!hubcap!opusc!usceast!usenetReferences:
<1992Sep7.094208.13949@odin.diku.dk> <513@tower1.uucp>Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.prolog,comp.lang.c Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!hubcap!opusc!usceast!usenet From: James B. Wilkinson <wilkins@cs.cofc.edu> Subject: Re: Need code to match strings with regular expressions Message-ID: <1992Sep8.200014.11691@usceast.cs.scarolina.edu> X-Xxdate: Tue, 8 Sep 92 16:01:30 GMT Sender: usenet@usceast.cs.scarolina.edu (USENET News System) Organization: The College of Charleston X-Useragent: Nuntius v1.1.1d9 References: <1992Sep7.094208.13949@odin.diku.dk> <513@tower1.uucp> Date: Tue, 8 Sep 92 20:00:14 GMT Lines: 11