title: Trying to get the Widget Layer Rule Provider in Orchard to work with a wildcard
body: <p>I am working with Orchard CMS v0.8 and am trying to set the layer rule for a particular layer in a website. This can be done by looking at the "Orchard_Widgets_LayerPartRecord" table in the database. </p>
  
  <p>There is a field whereby you can specify what they layer rule is which is great. However I am having a little trouble with getting it to match on a wildcard.</p>
  
  <p>For example: I would want a layer rule to be url "~/admin/*" so that all pages that matched this url would have the layer.</p>
  
  <p>I checked the underlying code and it appears that it should match however it does not. Anyone have any ideas?</p>
  
  <p>I have had a look at this blog article which is great but it doesn't help in this situation. <a href="http://weblogs.asp.net/bleroy/archive/2010/10/28/a-quick-look-at-what-s-new-in-orchard-0-8.aspx" rel="nofollow">Bertrand Le Roy's blog</a>.</p>
  
  <p>Thanks in advance. </p>