On 12/31/2011 11:42 PM, Caligo wrote:
On Sat, Dec 31, 2011 at 11:34 PM, Andrei Alexandrescu <[email protected] <mailto:[email protected]>> wrote: to the entire D community! Andrei Happy New Year. :-)
Here's a happy New Year regex that replaces C function pointer declarations with D function pointer declarations.
s_\(.*\)[ \t]*([ \t]*\*[ \t]*\(\w*\)[ \t]*)\(.*\);_\1 function\3 \2;_ It's poorly made :(. Happy New Years!
