RegExp.hx 1023 B

12345678910111213141516171819202122
  1. package flash.utils;
  2. @:realPath("flash.utils.RegExp") @:native("RegExp") extern class RegExp implements Dynamic {
  3. @:flash.property var dotall(get,never) : Bool;
  4. @:flash.property var extended(get,never) : Bool;
  5. @:flash.property var global(get,never) : Bool;
  6. @:flash.property var ignoreCase(get,never) : Bool;
  7. @:flash.property var lastIndex(get,set) : Int;
  8. @:flash.property var multiline(get,never) : Bool;
  9. @:flash.property var source(get,never) : String;
  10. function new(?pattern : Dynamic, ?options : Dynamic) : Void;
  11. @:ns("http://adobe.com/AS3/2006/builtin") function exec(?s : String) : Dynamic;
  12. private function get_dotall() : Bool;
  13. private function get_extended() : Bool;
  14. private function get_global() : Bool;
  15. private function get_ignoreCase() : Bool;
  16. private function get_lastIndex() : Int;
  17. private function get_multiline() : Bool;
  18. private function get_source() : String;
  19. private function set_lastIndex(value : Int) : Int;
  20. @:ns("http://adobe.com/AS3/2006/builtin") function test(?s : String) : Bool;
  21. }