Re: deprecation lost

Am Fre, 2002-11-29 um 23.07 schrieb Daniel Elstner:

> Just in case you haven't solved this already, I played a bit with
> regexxer (hint, hint :) and here's what I got:
> ^\s*#\s*if(?:ndef\b|\s+!\s*defined\s*\()\s*(\w+)
> It extracts only the first tested macro in an #if line into $1, but that
> seems to be sufficient AFAICT.

Hmm, perhaps the '(' after 'defined' should be optional:



P.S.: Matthias, do you always have to be faster?  :)

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]