[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] japhy had a silly idea...



Randal L. Schwartz wrote:
> >> $b = '\A$b\z';
> >>
> >> The regex is /$b/.  It matches only '$b'. :)
>
> Jeff> That fails.  It has to match '\A$b\z'.
>
> No, the regex is "dollar b".

No, the regex is '\A$b\z'.
It happens to be contained in a variable, $b.

But your smiley makes me think you already know that.

--
John Porter



==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe