Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^5: Regex to strip comments (out not in)

by BrowserUk (Pope)
on Oct 01, 2012 at 18:20 UTC ( #996708=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    C:\test>type junk.c
    
    ...
    Copyright (C) Microsoft Corporation.  All rights reserved.
    
    junk.c
    
  2. or download this
    C:\test>type junk.c
    /*
    ...
    junk.c(2) : error C2001: newline in constant
    junk.c(2) : error C2059: syntax error : 'string'
    junk.c(3) : warning C4138: '*/' found outside of comment
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2014-08-21 05:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (127 votes), past polls