Matching Using a Regular Expression Object
package{ import flash.display.Sprite; import flash.utils.*; public class Main extends Sprite{ public function Main(){ var reCase:RegExp = new RegExp("abc"); trace(reCase.test("aBc")); // Displays: false; } } }