klwillis
Posts: 428
|
Posted: 07/07/2004, 9:07 AM |
|
While working within CodeCharge, deleted code is
sometimes marked at the beginning of the line with
the phrase '//DEL'
I'd like to find all these lines and remove them from the
source code.
If there's a "cleanup" option within CodeCharge that will do
that, I'd like to know about it.
Otherwise, what is the regular expression needed to
find all code lines beginning with '//DEL' ?
_________________
Kevin Willis, VP/CIO
HealthCare Information Technology Specialist
http://www.nexushealthcare.com
"Fast - Convenient - Quality-Care"
Medical Software Consulting Services
Email : klwillis@nexushealthcare.com
Skype : klwillis2006 |
|
|
peterr
Posts: 5971
|
Posted: 07/08/2004, 12:05 AM |
|
I don't have a project handy to test this out, but I think that just searching for "//DEL" should work (using 'Find in Files' option in CCS).
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|
Riccardo Novello
|
Posted: 07/08/2004, 7:09 AM |
|
//DEL\ .*$
seems to work (backup your project directory first!)
P.S. I HATE regular expression, but I've found this handy http://www.weitz.de/regex-coach/
|
|
|
klwillis
Posts: 428
|
Posted: 07/09/2004, 9:50 PM |
|
Thankyou.
_________________
Kevin Willis, VP/CIO
HealthCare Information Technology Specialist
http://www.nexushealthcare.com
"Fast - Convenient - Quality-Care"
Medical Software Consulting Services
Email : klwillis@nexushealthcare.com
Skype : klwillis2006 |
|
|
cparke
Posts: 8
|
Posted: 07/10/2004, 1:22 PM |
|
This is probably overkill for what you want to do in this instance. It is a commercial product and fairly expensive (TextPipe Pro $300), but it is the *best* in the world that I have ever found for massive text cleaning and scrubbing that needs to be automated. Especially for untrained users. You can load a custom created specific automated application script for them to be able to do a massive task themselves once you have created it for them.
Just something good to know about if you ever hit a big commercial applications where something like this is needed and justified economically.
It was a life saver for me once !
Keep the knowledge that this exists in your mental arsenal in case you ever need it.
Check it out:
http://www.crystalsoftware.com.au/textpipe.html?google12
Best to everyone on this valuable forum !
|
|
|
klwillis
Posts: 428
|
Posted: 07/11/2004, 10:20 AM |
|
Tha'ts one great tool!
Much appreciated.
_________________
Kevin Willis, VP/CIO
HealthCare Information Technology Specialist
http://www.nexushealthcare.com
"Fast - Convenient - Quality-Care"
Medical Software Consulting Services
Email : klwillis@nexushealthcare.com
Skype : klwillis2006 |
|
|