[haXe] haXe regexp and subexpressions
Michael Pliskin
pl at tepkom.ru
Thu Apr 5 16:15:15 CEST 2007
Hello Nicolas,
NC> What about using haXe regexp notation ~/[^\x0A\0xD]/ and ~/\\$text/, it
NC> doesn't work ?
Hmm it works!! Thanks a lot. But I never could think of syntax sugar
supporting that - it somehow does a name resolution... How does it
work? I.e. what about
function f1() {
var text = ~/[^\x0A\0xD]/;
}
function f2() {
var r2 = ~/\\$text/;
}
will it work? How does it resolve '$'-variables?
--
Best regards,
Michael mailto:pl at tepkom.ru
More information about the Haxe
mailing list