Help for this page

Select Code to Download


  1. or download this
    my $test = qq|asdfas dfas dfas df asfd[[bad tag]] [[table]] asdfa sf a
    +s [[asdf as f\|sfds]] as dfa 
    sdf [[test new line]] foo|;
    
    $test =~ s{\[\[(.+)[^\]\]]}{
      print "FOO: $1 \n";    
    }ge;
    
  2. or download this
    bad tag
    table
    asdf as f\|sfds
    test new line
    
  3. or download this
    C:\Users\Andy\Documents>perl test.pl
    FOO: bad tag]] [[table]] asdfa sf as [[asdf as f|sfds]] as dfa
    FOO: test new line]] fo