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]/;