Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: joining lines efficiency?

by AnomalousMonk (Abbot)
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 making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2015-07-29 03:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (260 votes), past polls