On Tue, Mar 02, 2010 at 04:02:40PM +0100, Aaen, Andreas.Bach wrote: > The problem with regular expressions is to get the spacing right. Over > thousands of files there are variants where more spacing is added arround > like "#include <std.h> ". There are many variants, Coccinelle as a
Well, I am all for coccinelle, but to be fair, handling an unknown amount of spaces is what RE are especially good for, no? (\s+) -- Pengutronix e.K. | Wolfram Sang | Industrial Linux Solutions | http://www.pengutronix.de/ |
signature.asc
Description: Digital signature
_______________________________________________ Cocci mailing list [email protected] http://lists.diku.dk/mailman/listinfo/cocci (Web access from inside DIKUs LAN only)
