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