AS3 RegExp literal test data

This commit is contained in:
Jindra Petřík
2016-01-12 20:45:15 +01:00
parent edad412fc1
commit 1901bab69b
2 changed files with 8 additions and 0 deletions

Binary file not shown.

View File

@@ -934,5 +934,13 @@ import classes.TestNs;
public function other(){
var n:TestNs = new TestNs();
}
public function testRegExp() {
var a1 = new RegExp("[a-z\r\n0-9\\\\]+","i");
var a2 = /[a-z\r\n0-9\\]+/i;
var b1 = new RegExp("[0-9AB]+");
var b2 = /[0-9AB]+/;
}
}
}