Available on js
Native JavaScript regular expressions.
For cross-platform regular expressions, use Haxe EReg class or regexp literals.
EReg
new(pattern:String, ?flags:String)
read onlyglobal:Bool
read onlyignoreCase:Bool
lastIndex:Int
read onlymultiline:Bool
read onlysource:String
exec(str:String):Null<RegExpMatch>
test(str:String):Bool
toString():String