Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: Replace multiple tabs with spaces at start of a string

by Anonymous Monk
on May 17, 2017 at 20:15 UTC ( [id://1190499]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1190499]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-25 15:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found