title: Handlebars IF value contains x.*
body: <p>I have an issue with some JSON I'm parsing into a template.  Essentially, I'm constructing a query via a simple web interface, pulling back data in JSON format, and controlling the data/template with Mustache.</p>
  
  <p>However, I'm unable to query values on nested objects in the JSON via the URL...so I think I need to resort to conditional statements using Handlebars.</p>
  
  <p>Is it possible to run a <code>like</code> or <code>indexof</code> style comparison in an handlebars block helper using wildcards?</p>
  
  <p>i.e.</p>
  
  <pre><code>{{#if folderPath == "content/published/.*"}}
   Render content
  Else, do nothing
  </code></pre>
  
  <p>Appreciate any help,
  Thanks</p>