in reply to Re: Replace multiple tabs with spaces at start of a string
in thread Replace multiple tabs with spaces at start of a string

what is the meaning of the \G there??
  • Comment on Re^2: Replace multiple tabs with spaces at start of a string

Replies are listed 'Best First'.
Re^3: Replace multiple tabs with spaces at start of a string
by KurtZ (Friar) on May 17, 2017 at 20:22 UTC
    Anchor where to start for next match.

    The \G anchor matches at the point where the previous//g match left off. \G allows us to easily do context-sensitive matching... perlretut