question: public static Video matchURL ( String url , String text ) { Matcher m = URL_PATTERN . matcher ( url ) ; if ( m . matches ( ) ) { return new Video ( m . group ( 1 ) , text ) ; } else { return null ; } }
target:  Returns a Video object if the given url is to a video. 