Steve Grazzini wrote:
> On Mon, Jul 07, 2003 at 01:00:22PM +0100, Rob Dixon wrote:
> > Steve Grazzini wrote:
> > > On Sun, Jul 06, 2003 at 11:20:03AM -, mark sony wrote:
> > > > $_ = "The brown fox jumps over the lazy dog";
> > > > /the (\S+)(?{ $color = $^N }) (\S+)(?{ $animal = $^N })/i;
>
On Mon, Jul 07, 2003 at 01:00:22PM +0100, Rob Dixon wrote:
> Steve Grazzini wrote:
> > On Sun, Jul 06, 2003 at 11:20:03AM -, mark sony wrote:
> > > $_ = "The brown fox jumps over the lazy dog";
> > > /the (\S+)(?{ $color = $^N }) (\S+)(?{ $animal = $^N })/i;
> >
> > $^N is new in 5.8.0.
> >
Steve Grazzini wrote:
> On Sun, Jul 06, 2003 at 11:20:03AM -, mark sony wrote:
> > $_ = "The brown fox jumps over the lazy dog";
> > /the (\S+)(?{ $color = $^N }) (\S+)(?{ $animal = $^N })/i;
> > print "color = $color, animal = $animal\n";
> >
> > When I run the program it gives :color = ,
On Sun, Jul 06, 2003 at 11:20:03AM -, mark sony wrote:
> $_ = "The brown fox jumps over the lazy dog";
> /the (\S+)(?{ $color = $^N }) (\S+)(?{ $animal = $^N })/i;
> print "color = $color, animal = $animal\n";
>
> When I run the program it gives :color = , animal =
>
> I took it from thi