Help for this page

Select Code to Download


  1. or download this
    use Regexp::Assemble;
    my $r = Regexp::Assemble->new->track(1)->add(qw(foo? bar{2} [Rr]at));
    ...
          print "$w no match\n";
        }
      }
    
  2. or download this
    this no match
    food matched by foo?
    is no match
    rather matched by [Rr]at
    barren matched by bar{2}