Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: regex not working

by jwkrahn (Monsignor)
on Oct 07, 2011 at 07:54 UTC ( #930140=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -le'
    use warnings;
    ...
    false
    $regex = (?-xism:[3]{0})
    true
    
  2. or download this
    $ perl -le'$x = () = "2020" =~ /[1]{0}/g; print $x'
    5
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2016-06-27 22:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (345 votes). Check out past polls.