Help for this page

Select Code to Download


  1. or download this
    /^\.?\d+\.\d+(?:\.\d+)*/
    
  2. or download this
    use strict;
    
    ...
    if ($a =~ /^\.?\d+\.\d+(?:\.\d+)*/) {
        print "match\n";
    }