Re: [Vala] GLib.Rex Pattern

2013-04-05 Thread Igor Azevedo
Daniel Espinosa, if you're going to write strings with multiple lines you might wanna use the verbatin feature. For example: public static string PATTERN= """(([0-2]?[0-5]{1,2})|([0-1]\d\d)|(\d \d))\.(([0-2]?[0-5]{1,2})|([0-1]\d\d)|(\d \d))\.[0-2]?[0-5]{1,2}\.(([0-2]?[0-5]{1,2})|([0-1]\d\d)|(\d\d

Re: [Vala] GLib.Rex Pattern

2013-04-05 Thread Abderrahim Kitouni
Hello, Le vendredi 5 avril 2013, Daniel Espinosa a écrit : > > I'm using: > > class Ip : Object { > public static string PATTERN="(([0-2]?[0-5]{1,2})|([0-1]\d\d)|(\d > \d))\.(([0-2]?[0-5]{1,2})|([0-1]\d\d)|(\d > \d))\.[0-2]?[0-5]{1,2}\.(([0-2]?[0-5]{1,2})|([0-1]\d\d)|(\d\d))" > } > > On c

[Vala] GLib.Rex Pattern

2013-04-05 Thread Daniel Espinosa
I want to set a static string to a class with a GRex pattern. Is this supported by Vala? I'm using: class Ip : Object { public static string PATTERN="(([0-2]?[0-5]{1,2})|([0-1]\d\d)|(\d \d))\.(([0-2]?[0-5]{1,2})|([0-1]\d\d)|(\d \d))\.[0-2]?[0-5]{1,2}\.(([0-2]?[0-5]{1,2})|([0-1]\d\d)|(\d

Re: [Vala] Autovala: new program for developers

2013-04-05 Thread rastersoft
By the way... when you say: Supposing I want to compile some file only on some condition, can it be possible? Can you be more specific? Maybe there's a way of implementing it in an easy way... El 30/03/13 18:25, Tal Hadad escribió: > This is sound very attractive, even I don't like CMak