in reply to recursive /eg fails
What does
do? (I know what the code says, but as to why anyone'd write this is beyond me, it's not useful). what I would do is compile $re so it is a regex, using qr (see perlop).$re = ${{ "B(1)+C(2)" => '1|2', }}{$_}||quotemeta;
Also, it will never print func MAIN ,
first it will print MAIN: 'B(1)+C(2)'=~/....
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: recursive /eg fails
by I0 (Priest) on Mar 27, 2002 at 04:01 UTC |