Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Is this a bug in perl regex engine or in my brain?

by Crackers2 (Parson)
on Oct 06, 2015 at 17:58 UTC ( #1143957=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ cat /tmp/x
    my $regex = '(2[0-4]|1?[0-9])?[0-9]|25[0-5]';
    ...
    300
    300 matched
    ^C
    
  2. or download this
    my $regex = '(2[0-4]|1?[0-9])?[0-9]|a';
    
  3. or download this
    my $regex = '(2[0-4]|1?[0-9])?[0-9]|25[0-5]';
    
  4. or download this
    my $regex = qr/(2[0-4]|1?[0-9])?[0-9]|25[0-5]/;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2022-01-23 21:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (64 votes). Check out past polls.

    Notices?