Help for this page

Select Code to Download


  1. or download this
    while ( ... )
    {
        ...
    ...
        # add later.
        pos() = $-[0] + 1;
    }
    
  2. or download this
    while ( /($regex)/gx )
    {
        push @substrings,
    ...
        # Restart the checking at one character after the match started.
        pos() = $-[0] + 1;
    }