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

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

  • Comment on Re^3: Replace multiple tabs with spaces at start of a string