Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: Look Ahead regexp to insert line?

by choroba (Abbot)
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 exploiting the Monastery: (7)
As of 2014-08-30 18:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (293 votes), past polls