The first example returns true. The second example returns false.
shExpMatch("http://home.example.com/people/index.html", ".*/people/.*") shExpMatch("http://home.example.com/people/yourpage/index.html", ".*/mypage/.*")