Re: deprecation lost
- From: Daniel Elstner <daniel elstner gmx net>
- To: Matthias Clasen <maclas gmx de>
- Cc: gtk-devel-list gnome org
- Subject: Re: deprecation lost
- Date: 29 Nov 2002 23:16:25 +0100
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:
^\s*#\s*if(?:ndef\b|\s+!\s*defined\s*\(?)\s*(\w+)
--Daniel
P.S.: Matthias, do you always have to be faster? :)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]