Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: Look Ahead regexp to insert line?

by choroba (Chancellor)
on Oct 02, 2012 at 00:54 UTC ( #996780=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Look Ahead regexp to insert line?
in thread Look Ahead regexp to insert line?

My script goes through the file line by line, not letter by letter. It should work even for large files where stuffing everything into memory might be a problem.

If you want to compare different solutions, benchmark. Benchmark can help you.

لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
  • Comment on Re^3: Look Ahead regexp to insert line?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2016-07-02 11:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (20 votes). Check out past polls.