Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^3: joining lines efficiency?

by AnomalousMonk (Chancellor)
on Jun 10, 2013 at 16:16 UTC ( #1038107=note: print w/replies, xml ) Need Help??


in reply to Re^2: joining lines efficiency?
in thread joining lines efficiency?

The regex also needs to ... ignore "/*" ie should the characters be quoted.

It should also handle stuff like this, which compiles and runs just fine:

#include <stdio.h> #include <assert.h> void main (int argc, char ** argv) { int x = 4; int y = 2; int * p = &y; assert(x/*p == 12345 /* p points to y */); printf("everything looks just fine \n"); }

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1038107]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2017-12-18 15:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (492 votes). Check out past polls.

    Notices?