Re: [racket] regexp-match to return a line containing a specified string...

2013-05-07 Thread Danny Yoo
On Tue, May 7, 2013 at 3:08 PM, Don Green wrote: > Trying to use regexp-match to return a line containing a specified string... > > > ;Create fn: find-string.ss. > > ;Given a file and a find-string. > > ;Returns a line-string with first find. > > ;The input file has a lot of lines. In this case,

[racket] regexp-match to return a line containing a specified string...

2013-05-07 Thread Don Green
Trying to use regexp-match to return a line containing a specified string... ;Create fn: find-string.ss. ;Given a file and a find-string. ;Returns a line-string with first find. ;The input file has a lot of lines. ;I am thinking it would be good to filter all but the line of interest, giving