Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: joining lines efficiency?

by AnomalousMonk (Monsignor)
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"); }


Comment on Re^3: joining lines efficiency?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (17)
As of 2014-07-24 16:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (162 votes), past polls