module Pages
  class Article < SitePrism::Page
    set_url '/articles{/id}'
    set_url_matcher /\/articles\/\w+/
  end
end

module Pages
  class Article < SitePrism::Page
    set_url '/articles{/id}'
    set_url_matcher %r{/articles/\w+}
  end
end

Use %r for regexp matching more than 1 '/' char
Use %r for regexp matching more than 1 '/' char
