Re: regexp with $ARGV

2001-11-04 Thread Martin Karlsson
h $ARGV[0] but the regex w/o inputs >assumes: > > $_ =~ s/$ARGV[0]/\($ARGV[0]\)/g; > which is not what you are after. > > If you really want the regex then: > >$ARGV[0] =~ s/$ARGV[0]/\($ARGV[0]\)/g; > would work for you. > > Wags ;) &g

regexp with $ARGV

2001-11-04 Thread Martin Karlsson
it won't. Thanks, -- Martin Karlsson [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: regexp question

2001-11-03 Thread Martin Karlsson
Thanks Jeff! Works like a charm! Be well! /Martin * Jeff 'japhy' Pinyan ([EMAIL PROTECTED]) wrote: > On Nov 3, Martin Karlsson said: > > >Could anyone give me a push in the right direction, please? > >How do I write a regexp that matches double instances of letters

regexp question

2001-11-03 Thread Martin Karlsson
! -- Martin Karlsson [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]