Re: deprecation lost
- From: Matthias Clasen <maclas gmx de>
- To: gtk-devel-list gnome org
- Subject: Re: deprecation lost
- Date: 29 Nov 2002 23:04:11 +0100
On Fri, 2002-11-29 at 22:32, Matthias Clasen wrote:
>
> I guess we have to do some regex fiddling to match both
>
> #ifndef DEPRECATION_GUARD
>
> and
>
> #if !defined(DEPRECATION_GUARD) || ..
>
My regex is not much better than my perl, but this seems to
work here:
/^\s*#\s*if(?:ndef|\s+!\s*defined\s*\()\s*(\w+)\W.*/
Matthias
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]