Assert.assertThat(p.match("http://www.fireflysource.com/cn/app")[0], is("http://"));
Assert.assertThat(p.match("http://www.fireflysource.com/cn/app")[3], is(""));
Assert.assertThat(p.match("http://www.fireflysource.com/cn/app/1334")[3], is("/1334"));
p = Pattern.compile("abc*abc", "*");
Assert.assertThat(p.match("abcabcabc")[0], is(""));
p = Pattern.compile("aa*aa", "*");
Assert.assertThat(p.match("aaaaa")[0], is(""));
}