Help for this page

Select Code to Download


  1. or download this
    'g'=~/g/;
    my $regex = 'm{}g';  # user input
    ...
        use re 'debug';
        print "<\$&>\\n" while \$text =~ $regex;
    };
    
  2. or download this
    Compiling REx ""
    Final program:
    ...
       2: END (0)
    minlen 0 
    Freeing REx: ""