package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ trace("the cat sat on the mat".match(/[msc]at/g)); //cat,sat,mat } }}