Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: Empty qr// fails to match -- Is this known bug?

by wokka (Acolyte)
on Oct 23, 2008 at 16:39 UTC ( #719083=note: print w/ replies, xml ) Need Help??


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

I meant "perldoc perlop", but it doesn't matter, I somewhat misunderstood anyway. since qr// are quote operators, I think this makes perfect sense, given the way the feature is supposed to work. $T represents a compiled regex, but an empty one. When the interpreter sees that it's an empty regex, it attempts to use the last successfully matched one (as it's supposed to do).
  • Comment on Re^2: Empty qr// fails to match -- Is this known bug?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://719083]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2016-07-31 00:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (269 votes). Check out past polls.