Help for this page

Select Code to Download


  1. or download this
      emit($1), next if m/\G([^<>&]+/gc;
      emit($1), next if m/\G(&\w+;)/gc;
      emit("&lt;"), next if m/\G<(?!<)/gc;
      # handle potentially valid REs here
      emit("&lt;"), next if m/\G</gc;
      emit("&gt;"), next if m/\G>/gc;
    
  2. or download this
      &lt;ILLEGAL_TAG&gt;...&lt;/ILLEGAL_TAG&gt;