spirit posteets tagged regex  [ Profile ]

Sort by: Date / Title /

  1. 6 years ago
    1. perl -ple 's/num/$n++/e' filename
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/2150"></script>
  2. 8 years ago
    ipv4:
    (([1-9]?[0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]).){3}([1-9]?[0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])
    
    ipv6:
    ([A-Fa-f0-9]{1,4}:){7}[A-Fa-f0-9]{1,4}
    
    MAC:
    (([a-fA-F0-9]{1,2}-){5})([a-fA-F0-9]{1,2})
    
    FQDN:
    (([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]).)*([A-Za-z]|[A-Za-z][A-Za-z0-9-]*[A-Za-z0-9])
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/2099"></script>
  3. 9 years ago
    server {
        server_name mysite.tld ~^.+.mysite.tld$;
    
        map $host $files {
            default            common;
            mysite.tld         common;
            www.mysite.tld     common;
            admin.mysite.tld   admin;
            system.mysite.tld  system;
            *.mysite.tld       users;
        }
        root /var/www/mysite/$files;
    }
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/2017"></script>
  4. sponsorised links
  5. 11 years ago and saved by 1 other
    1. # Works with dash "-" and colon ":" as a separator
    2. # The ā€œ/iā€ modifier at the end makes it case-insensitive (Perl-like syntax)
    3. /^([0-9A-F]{2}[:-]){5}[0-9A-F]{2}$/i
    4.  
    5. # General syntax (match lower and upper case)
    6. ^([0-9a-fA-F]{2}[:-]){5}[0-9a-fA-F]{2}$
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/429"></script>

First / Previous / Next / Last / Page 1 of 1 (4 posteets)