Mega Code Archive

 
Categories / Delphi / Examples
 

Grep

Subject: RE: grep-source .at is Austria. There's a good site for country (etc.) URL extensions: http://www.ics.uci.edu/pub/websoft/wwwstat/country-codes.txt Steve Helgeson Lamplighter Software -----Original Message----- From: owner-delphi@Kyler.com [mailto:owner-delphi@Kyler.com]On Behalf Of Stephen Posey Sent: Thursday, April 15, 1999 10:12 AM To: Delphi@Kyler.com Subject: Re: grep-source Markus Schwaiger wrote: > > Hi, > > I'm searching for an Delphi-implementation of a grep-engine > like the one used in Perl. What I need to do are statements > like > > Grep (s/(^Subject:)(.*)/B:$2/) > or > if (Grep (^[\s]*AT.*)) then > > = replacements and pattern matching based on regular expressions > but a little bit more complicated... :-) I found some engines > supporting parts of the pattern matching algorithm but none > supporting the replacements. > > Any ideas? Thanks! I'm looking for the same kind of thing; please LMK if you find anything. BTW, where is ".at"? Regards, Stephen Posey slposey@concentric.net