http://qs1969.pair.com?node_id=567980

(?<! always (?=

Replies are listed 'Best First'.
Re: Perl can be motivational!
by Velaki (Chaplain) on Aug 17, 2006 at 22:16 UTC

    Excellent use of lookarounds! Very perly.

    -v.
    "Perl. There is no substitute."
Re: Perl can be motivational!
by xdbd063 (Friar) on Aug 17, 2006 at 18:05 UTC

    Great thought!!! From someone who is shortly moving ahead, I will remember this one!

Re: Perl can be motivational!
by roboticus (Chancellor) on Aug 18, 2006 at 11:51 UTC
    Grey Fox--

    I must agree with japhy's response. I recognize the zero-width assertions, and read perlre, and I suspect that the title is a hint, too, but I just don't quite get what "(?<! always (?=" means...

    A little help, please?

    Update: Just after pressing the create button, I think I (might) have it. "Always look both ways"? (Presumably before crossing the street)?

    --roboticus

      I wrote it with the idea of don't look at the negative behind us, but always look at the positive ahead. Grey Fox. Perl - Hours to learn lifetime to master.
      Hi roboticus;
      After looking at it again you are right, it can also be interpreted as always look both ways.
      Thanks;
      -- Grey Fox
      Perl - Hours to learn lifetime to master.
Re: Perl can be motivational!
by japhy (Canon) on Aug 18, 2006 at 02:35 UTC