Happy New Year in 2012....

Zachary Lund admin at computerquip.com
Sat Dec 31 22:47:41 PST 2011


On 12/31/2011 11:42 PM, Caligo wrote:
>
>
> On Sat, Dec 31, 2011 at 11:34 PM, Andrei Alexandrescu
> <SeeWebsiteForEmail at erdani.org <mailto:SeeWebsiteForEmail at erdani.org>>
> 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!


More information about the Digitalmars-d mailing list