Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by JavaFan (Canon)
on Apr 19, 2012 at 14:26 UTC ( [id://965982]=note: print w/replies, xml ) Need Help??


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

Sure it does.

Unless you mean that you want to restart counting offsets on each newline. But you didn't specify that.

  • Comment on Re^3: How do I replace \t and regarding to the alignment requirement ?

Replies are listed 'Best First'.
Re^4: How do I replace \t and regarding to the alignment requirement ?
by PerlOnTheWay (Monk) on Apr 19, 2012 at 14:28 UTC
    Yes I want to restart counting offset on newline,sorry for missing that!
      The trivial way to doing that is to split the string on newlines, tabify each line, than join them with newlines again.
      A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-25 13:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found