-
-
Notifications
You must be signed in to change notification settings - Fork 649
/
RegExp.hx
22 lines (21 loc) · 1023 Bytes
/
RegExp.hx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package flash.utils;
@:realPath("flash.utils.RegExp") @:native("RegExp") extern class RegExp implements Dynamic {
@:flash.property var dotall(get,never) : Bool;
@:flash.property var extended(get,never) : Bool;
@:flash.property var global(get,never) : Bool;
@:flash.property var ignoreCase(get,never) : Bool;
@:flash.property var lastIndex(get,set) : Int;
@:flash.property var multiline(get,never) : Bool;
@:flash.property var source(get,never) : String;
function new(?pattern : Dynamic, ?options : Dynamic) : Void;
@:ns("http://adobe.com/AS3/2006/builtin") function exec(?s : String) : Dynamic;
private function get_dotall() : Bool;
private function get_extended() : Bool;
private function get_global() : Bool;
private function get_ignoreCase() : Bool;
private function get_lastIndex() : Int;
private function get_multiline() : Bool;
private function get_source() : String;
private function set_lastIndex(value : Int) : Int;
@:ns("http://adobe.com/AS3/2006/builtin") function test(?s : String) : Bool;
}