Help for this page

Select Code to Download


  1. or download this
    print "$_ ", /(.*)(?{$countSpaces->()})/ ? "has 1 or no spaces\n" : "h
    +as more than one space\n";
    
  2. or download this
    this line has more than one space
     has more than one space
    ...
     has more than one space
    therearenospaceshere
     has 1 or no spaces