Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 romping around the Monastery: (2)
As of 2014-09-18 04:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (108 votes), past polls