Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: How do I replace \t and regarding to the alignment requirement ?

by AnomalousMonk (Bishop)
on Apr 22, 2012 at 16:02 UTC ( #966476=note: print w/replies, xml ) Need Help??


in reply to Re: How do I replace \t and regarding to the alignment requirement ?
in thread How do I replace \t and regarding to the alignment requirement ?

... @LAST_MATCH_START variable ... an evil which tainted any other regex ...

You may be thinking of  $& ($MATCH) and friends ($` and $'). While  @LAST_MATCH_START (@-) may share in the general overhead associated with capturing, I am not aware that it is touched by the evil of  $& and its ilk. And with 5.10+, the incantation of the /p regex modifier can raise even  $` $& $' to purity as the  ${^PREMATCH} ${^MATCH} ${^POSTMATCH} special variables. Oh, happy day!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2021-01-17 00:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?