fork(1) download
  1. <?php
  2.  
  3. $regex = "@^[0-9A-ZĄąĆćĘꣳÓ󯿏źŃńŚś., -]{5,35}$@i";
  4. echo preg_match($regex,"Żółkiewski")."\n";
  5. echo preg_match($regex,"Zielona Góra")."\n";
  6. echo preg_match($regex,"Równina")."\n";
  7.  
Success #stdin #stdout 0.01s 20520KB
stdin
Standard input is empty
stdout
1
1
1