scsh-users
[Top] [All Lists]

Re: Regular expressions

To: <scsh@zurich.ai.mit.edu>
Subject: Re: Regular expressions
From: Maurício <briqueabraque@yahoo.com>
Date: Mon, 4 Mar 2002 08:56:28 -0300
> Maurício>     Hi,
>
> Maurício>     I've been looking for a language where I can do regular
expressions in
> Maurício> Windows (...) but I need to search big files (500Mb) for several
matchs > Maurício> a regular expressions. How do you suggest me to do that
in csh/scheme,
> Maurício> (...)

> Just read the file in line by line.  You probably want to use
> PORT-FOLD, READ-LINE, and REGEXP-SEARCH.
>

    The problem is that the regular expression usually matches many lines at
once. Isn't it possible, for intance, to "memory map" the file to a string
or something like that?


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


<Prev in Thread] Current Thread [Next in Thread>