Help for this page

Select Code to Download


  1. or download this
      while  ($test =~ m%\Q[ref]\E(?:(?!\Q[/ref]\E).)*\Q[/ref]\E%gix) {
            print "FOO, $1, $2 and $3 \n";
        }
    
  2. or download this
      while  ($test =~ m%\Q[ref]\E[^[]*(?:\[(?!\Q/ref]\E)[^[]*)*\Q[/ref]\E
    +%gix) {
            print "FOO, $1, $2 and $3 \n";
        }