- Subject: Re: Put search string into variable for use with strcmp
- From: "Sebastien Rozange" <beuz@xxxxxxx>
- Date: Sat, 7 Dec 2002 11:51:49 +0100
hi,
i guess you'll need to push the mark before using bufsubstr
>
> variable len = re_fsearch (pattern);
> variable text = "";
> if (len)
> {
> push_spot ();
push_mark();
> go_right(len-1);
> text = bufsubstr ();
> pop_spot ();
> }
> .
> % Use text
> .
cheers
s.Rozange
--------------------------
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]