Help for this page

Select Code to Download


  1. or download this
    #                  10        20        30        40        50
    #          ---------'---------'---------'---------'---------'----
    ...
    while ($str =~ /&(?!#?[0-9a-z]+;)/gi) {
      print "Found ampersand at position ".pos($str)."\n";
    }
    
  2. or download this
    Found ampersand at position 32
    Found ampersand at position 48