This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post . Click the X in the top right-corner of this box to dismiss this message.
Old posts that have not been replied to for several years.
Papillon
Owner
Posts: 724 Joined: Fri Feb 15, 2002 8:00 pm
Location: *.no
Post
by Papillon » Tue Jul 30, 2002 9:21 am
Is it possible to make a regexp with vars? ... call upon vars in the expr..
Elen sila lúmenn' omentielvo
ppslim
Revered One
Posts: 3914 Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England
Post
by ppslim » Tue Jul 30, 2002 10:19 am
I think a better discription is required to answer this.
Papillon
Owner
Posts: 724 Joined: Fri Feb 15, 2002 8:00 pm
Location: *.no
Post
by Papillon » Tue Jul 30, 2002 12:27 pm
hehe
sure
is it possible to do this:
regexp -all "$var blablabla..etc $var" $var
I've tried different ones but all I get is differebt errors
it's within a loop and the vars will be different each time.... the loop will be executed about 1500 times and all the vars will be valid numbers only.
Elen sila lúmenn' omentielvo
ppslim
Revered One
Posts: 3914 Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England
Post
by ppslim » Tue Jul 30, 2002 4:59 pm
That still doesn't give me an idea of what you are trying to do!
Give an example of the loop, what goes into it, and what comes out of it.
The regexp command you gave was not even complete.`