package{ import flash.display.Sprite; import flash.utils.*; public class Main extends Sprite{ public function Main(){ var reCase:RegExp = new RegExp("abc","i"); trace(reCase.test("aBc")); } } }