Help for this page

Select Code to Download


  1. or download this
        foreach ('abc' =~ /.+?/a) {
            print "$_\n";        
    ...
        b
        bc
        c
    
  2. or download this
        use Regexp::AllMatches;
    
    ...
        while (my ($match) = $matcher->next) {
            print "$match\n";
        }
    
  3. or download this
        * new
        * clone
        * next
    
  4. or download this
        * prematch ($`)
        * match ($&)
        * postmatch ($`)
        * group ($<*digits*>)
        * groups
    
  5. or download this
        * curr
        * prev
        * reset
        * all