in reply to Re^2: Empty qr// fails to match -- Is this known bug? (bug)
in thread Empty qr// fails to match -- Is this known bug?

I don't see why the stringified representation of a Regex would be given any importance here. To me, the whole point of compiled Regexes is that they are not string Scalars.

Globals suck.

Be well,
rir

  • Comment on Re^3: Empty qr// fails to match -- Is this known bug? (bug)

Replies are listed 'Best First'.
Re^4: Empty qr// fails to match -- Is this known bug? (bug)
by chibiryuu (Beadle) on Oct 23, 2008 at 17:11 UTC
    It's still inconsistent. /$T$U/, which is *also* empty (if you ignore the stringified representation), doesn't act like an empty //.
      Oh my, oh my $var if 0; another odd bug with desirable behaviour.

      Be well,
      rir