Is there a filter, and can you give me an example of using Phing to remove a section of code?
E.g. this is my code:
function someFunc() {
// <debug>
var_dump(func_get_args());
// </debug>
doStuff();
}
How do I strip it down to:
function someFunc() {
doStuff();
}
using Phing?
I worked it out with a little regex:
This changes
into