title: zen-coding: ability to ascend the DOM tree using ^
body: <p>I forked the excellent zen-coding project, with an idea to implement DOM ascension using a ^ - so you can do:</p>
  
  <p><code>html&gt;head&gt;title^body&gt;h1</code> <em>rather than</em> <code>html&gt;(head&gt;title)+body&gt;h1</code></p>
  
  <p>Initially I implemented with rather shoddy regex methods. I have now implemented using @Jordan's excellent answer. My <a href="https://github.com/itaccess/zen-coding" rel="nofollow">fork is here</a></p>
  
  <h2>What I still want to know</h2>
  
  <p>Are there any scenarios where my function returns the wrong value?</p>