- Subject: Re: Put search string into variable for use with strcmp
- From: Morten Bo Johansen <mojo@xxxxxxxx>
- Date: Fri, 6 Dec 2002 22:54:46 +0100
Morten Bo Johansen <mojo@xxxxxxxx> wrote:
MBJ> Hi,
MBJ> I hope the subject is clear enough: I would like to search
MBJ> for a string with re_fsearch and have the result placed in a
MBJ> variable that I can use to compare to another string with strcmp.
Just re-reading my message I felt an urge to elaborate: The
idea is that re_fsearch should expand the string I searched for
and place the expanded string in the variable. For instance
re_fsearch ("\"Language-Team.*");
and then have the string expanded to the rest of the line
matched by .* and put into the variable.
Since re_fsearch returns 1 + the length of the string according
the the explanation in jedfuns.txt, I suppose I need to do
something else?
Regards,
Morten
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
[2002 date index]
[2002 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]