Re: [Vala] Regex Question
- From: Jan Niklas Hasse <jhasse gmail com>
- To: "Starr, Larry A" <LarryA Starr intel com>
- Cc: "vala-list gnome org" <vala-list gnome org>
- Subject: Re: [Vala] Regex Question
- Date: Mon, 5 Oct 2009 11:40:23 +0200
\* is an invalid escape sequence.
Try
var regex = new Regex ("""/\*.*?\*/""");
"Vala offers a feature called verbatim strings. These are strings in
which escape sequences (such as \n) won't get interpreted."
http://live.gnome.org/Vala/StringSample
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]