package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ var example:RegExp = /abc/; trace( example.test( "A string with abc in it" ) ); trace( example.test( "abc" ) ); trace( example.test( "Another string to test against..." ) ); } }}
Name (required)
email (will not be published) (required)
Website