home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / ada / 2434 < prev    next >
Encoding:
Text File  |  1992-08-25  |  1.2 KB  |  32 lines

  1. Newsgroups: comp.lang.ada
  2. Path: sparky!uunet!convex!convex!pelakh
  3. From: pelakh@convex.com (Boris Pelakh)
  4. Subject: Re: Match function ?
  5. Sender: usenet@news.eng.convex.com (news access account)
  6. Message-ID: <1992Aug25.164931.337@news.eng.convex.com>
  7. Date: Tue, 25 Aug 1992 16:49:31 GMT
  8. Distribution: comp.lang.ada
  9. References: <OBRY.92Aug25111154@cheesesteak.flash.bellcore.com>
  10. Nntp-Posting-Host: bach.convex.com
  11. Organization: Engineering, CONVEX Computer Corp., Richardson, Tx., USA
  12. X-Disclaimer: This message was written by a user at CONVEX Computer
  13.               Corp. The opinions expressed are those of the user and
  14.               not necessarily those of CONVEX.
  15. Lines: 15
  16.  
  17. In article <OBRY.92Aug25111154@cheesesteak.flash.bellcore.com> obry@flash.bellcore.com (Pascal Obry) writes:
  18. >What I want is something like :
  19. >
  20. >    match ("a string here", "[a-z]+[^A-Z]*g")
  21.  
  22. If you are working on an UNIX system, use the re_comp/re_exec functions from
  23. libc.a via pragma INTERFACE. Or. grab the optimized regex functions used in the
  24. gnu projects and rewrite them in Ada, thus getting rid of the copyleft.
  25.  
  26.  
  27. -- 
  28. Boris Pelakh        Ada Project Leader          pelakh@convex.com
  29.              Convex Computer Corporation
  30. "If winning isn't important, why keep score ?"    -- Lt. Worf, Star Trek TNG.
  31.             
  32.