Hi,

Here is a simple regular expression demo that shows how to use the new feature in 0.8.0. This can be added to the Vala site.

In addition, if you want to use !-operator with the regex literal the attached patch is required. E.g.

 if (!/foo/.match(str)) ...

Regards,
JP

__
Saunalahdelta mullistava uutuus Nokia N97 ja kaiken kattava TotaaliMAX nyt 
ennakkomyynnissä uskomattoman edullisesti! Paketissa puhelut ja viestit (3000 
min/kpl/kk), huippunopea mobiililaajakaista sekä Nokia N97 yhdellä kk-maksulla 
vain 59,95 e/kk (24 kk sopimus).
Katso http://saunalahti.fi/totaalimax

Attachment: regex-demo.vala
Description: Binary data

Attachment: regexfix.patch
Description: Binary data

_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to